mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue