diff options
author | thompsa <thompsa@FreeBSD.org> | 2010-01-07 02:25:19 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2010-01-07 02:25:19 +0000 |
commit | be64a18fd40f19e9ee4ce795336fefb0c9996d1d (patch) | |
tree | 16721a6697ef0160ebf0fc525f2e451388ca1c87 | |
parent | a576a41d1d2af3767592db06548ae6fbbfd657ad (diff) | |
download | FreeBSD-src-be64a18fd40f19e9ee4ce795336fefb0c9996d1d.zip FreeBSD-src-be64a18fd40f19e9ee4ce795336fefb0c9996d1d.tar.gz |
Fix debug printf on 64bit arches.
Spotted by: b. f.
-rw-r--r-- | sys/dev/usb/usb_msctest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_msctest.c b/sys/dev/usb/usb_msctest.c index 99aff3f..4325d79 100644 --- a/sys/dev/usb/usb_msctest.c +++ b/sys/dev/usb/usb_msctest.c @@ -468,7 +468,7 @@ bbb_command_start(struct bbb_transfer *sc, uint8_t dir, uint8_t lun, 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]); |