svn commit: r201714 - head/sys/dev/usb

Andrew Thompson thompsa at FreeBSD.org
Thu Jan 7 02:25:20 UTC 2010


Author: thompsa
Date: Thu Jan  7 02:25:19 2010
New Revision: 201714
URL: http://svn.freebsd.org/changeset/base/201714

Log:
  Fix debug printf on 64bit arches.
  
  Spotted by:	b. f.

Modified:
  head/sys/dev/usb/usb_msctest.c

Modified: head/sys/dev/usb/usb_msctest.c
==============================================================================
--- head/sys/dev/usb/usb_msctest.c	Thu Jan  7 01:57:13 2010	(r201713)
+++ head/sys/dev/usb/usb_msctest.c	Thu Jan  7 02:25:19 2010	(r201714)
@@ -468,7 +468,7 @@ bbb_command_start(struct bbb_transfer *s
 	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 svn-src-head mailing list