[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT b2e3b6e] Use proper format conversion specifier w
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT b2e3b6e] Use proper format conversion specifier when printingsize_t value |
Date: |
Fri, 11 Sep 2009 23:37:30 -0000 |
From: malc <address@hidden>
And untabify this while we are at it.
Signed-off-by: malc <address@hidden>
diff --git a/usb-linux.c b/usb-linux.c
index c80499a..c434e4f 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();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT b2e3b6e] Use proper format conversion specifier when printingsize_t value,
Anthony Liguori <=