aboutsummaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usb-linux.c b/usb-linux.c
index c80499af94..c434e4f8a7 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -583,9 +583,9 @@ static int usb_host_handle_control(USBHostDevice *s, USBPacket *p)
buffer_len = 8 + s->ctrl.len;
if (buffer_len > sizeof(s->ctrl.buffer)) {
- fprintf(stderr, "husb: ctrl buffer too small (%u > %lu)\n",
- buffer_len, sizeof(s->ctrl.buffer));
- return USB_RET_STALL;
+ fprintf(stderr, "husb: ctrl buffer too small (%u > %zu)\n",
+ buffer_len, sizeof(s->ctrl.buffer));
+ return USB_RET_STALL;
}
aurb = async_alloc();