svn commit: r202512 - stable/8/sys/dev/usb

Andrew Thompson thompsa at FreeBSD.org
Sun Jan 17 18:33:06 UTC 2010


Author: thompsa
Date: Sun Jan 17 18:33:05 2010
New Revision: 202512
URL: http://svn.freebsd.org/changeset/base/202512

Log:
  MFC r201714
  
   Fix debug printf on 64bit arches.

Modified:
  stable/8/sys/dev/usb/usb_msctest.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/usb/usb_msctest.c
==============================================================================
--- stable/8/sys/dev/usb/usb_msctest.c	Sun Jan 17 18:32:20 2010	(r202511)
+++ stable/8/sys/dev/usb/usb_msctest.c	Sun Jan 17 18:33:05 2010	(r202512)
@@ -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-stable-8 mailing list