[spice-gtk,v2,09/33] fixup! usb-redir: add files for SCSI and USB MSC implementation

Submitted by Frediano Ziglio on Aug. 9, 2019, 2:26 p.m.

Details

Message ID 20190809142651.2967-10-fziglio@redhat.com
State Superseded
Headers show
Series "CD emulation follow ups" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Frediano Ziglio Aug. 9, 2019, 2:26 p.m.
Minor, printf format
---
 src/cd-usb-bulk-msd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/cd-usb-bulk-msd.c b/src/cd-usb-bulk-msd.c
index 95365163..387a42a7 100644
--- a/src/cd-usb-bulk-msd.c
+++ b/src/cd-usb-bulk-msd.c
@@ -306,7 +306,7 @@  static int parse_usb_msd_cmd(UsbCdBulkMsdDevice *cd, uint8_t *buf, uint32_t cbw_
     scsi_req->tag = usb_req->usb_tag;
     scsi_req->lun = usb_req->lun;
 
-    SPICE_DEBUG("CMD lun:%" G_GUINT32_FORMAT " tag:0x%x flags:%08x "
+    SPICE_DEBUG("CMD lun:%" G_GUINT32_FORMAT " tag:%#x flags:%08x "
         "cdb_len:%" G_GUINT32_FORMAT " req_len:%" G_GUINT32_FORMAT,
         usb_req->lun, usb_req->usb_tag, cbw->flags,
         scsi_req->cdb_len, usb_req->usb_req_len);