Use proper format conversion specifier when printing size_t value

And untabify this while we are at it.

Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
malc 2009-09-12 03:18:18 +04:00
parent 057fa65c5d
commit b2e3b6e914

View file

@ -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();