mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix a compile warning with clang.
Reported by: arundel @ MFC after: 3 days
This commit is contained in:
parent
66e96554af
commit
87812fcec3
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ bbb_command_start(struct bbb_transfer *sc, uint8_t dir, uint8_t lun,
|
|||
sc->cmd_len = cmd_len;
|
||||
memset(&sc->cbw.CBWCDB, 0, sizeof(sc->cbw.CBWCDB));
|
||||
memcpy(&sc->cbw.CBWCDB, cmd_ptr, cmd_len);
|
||||
DPRINTFN(1, "SCSI cmd = %*D\n", (int)cmd_len, &sc->cbw.CBWCDB, ":");
|
||||
DPRINTFN(1, "SCSI cmd = %*D\n", (int)cmd_len, (char *)sc->cbw.CBWCDB, ":");
|
||||
|
||||
mtx_lock(&sc->mtx);
|
||||
usbd_transfer_start(sc->xfer[sc->state]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue