mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Fix debug printf on 64bit arches.
Spotted by: b. f.
This commit is contained in:
parent
aab9c8c28d
commit
e33b1a7e54
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201714
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user