From: malc Date: Fri, 11 Sep 2009 23:18:18 +0000 (+0400) Subject: Use proper format conversion specifier when printing size_t value X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b2e3b6e914b45b8ea4dd5c4368a28c3b6d412c89;p=qemu.git Use proper format conversion specifier when printing size_t value And untabify this while we are at it. Signed-off-by: malc --- 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();