From b2e3b6e914b45b8ea4dd5c4368a28c3b6d412c89 Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 12 Sep 2009 03:18:18 +0400 Subject: [PATCH] Use proper format conversion specifier when printing size_t value And untabify this while we are at it. Signed-off-by: malc --- usb-linux.c | 6 +++--- 1 file 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(); -- GitLab