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:
parent
057fa65c5d
commit
b2e3b6e914
@ -583,7 +583,7 @@ 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",
|
||||
fprintf(stderr, "husb: ctrl buffer too small (%u > %zu)\n",
|
||||
buffer_len, sizeof(s->ctrl.buffer));
|
||||
return USB_RET_STALL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user