PERFORCE change 172784 for review

Hans Petter Selasky hselasky at FreeBSD.org
Fri Jan 8 17:56:48 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=172784

Change 172784 by hselasky at hselasky_laptop001 on 2010/01/08 17:56:39

	
	USB core:
		- fix compile warning on AMD64.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_msctest.c#14 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_msctest.c#14 (text+ko) ====

@@ -468,7 +468,7 @@
 	sc->cmd_len = cmd_len;
 	bzero(&sc->cbw.CBWCDB, sizeof(sc->cbw.CBWCDB));
 	bcopy(cmd_ptr, &sc->cbw.CBWCDB, cmd_len);
-	DPRINTFN(1, "SCSI cmd = %*D\n", cmd_len, &sc->cbw.CBWCDB, ":");
+	DPRINTFN(1, "SCSI cmd = %*D\n", (int)cmd_len, &sc->cbw.CBWCDB, ":");
 
 	mtx_lock(&sc->mtx);
 	usbd_transfer_start(sc->xfer[sc->state]);


More information about the p4-projects mailing list