Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 02:25:19 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201714 - head/sys/dev/usb
Message-ID:  <201001070225.o072PJjC013265@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001070225.o072PJjC013265>