mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07: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;
|
buffer_len = 8 + s->ctrl.len;
|
||||||
if (buffer_len > sizeof(s->ctrl.buffer)) {
|
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));
|
buffer_len, sizeof(s->ctrl.buffer));
|
||||||
return USB_RET_STALL;
|
return USB_RET_STALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
aurb = async_alloc();
|
aurb = async_alloc();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue