> Hi -- I'm afraid this failed to compile on one of my systems: > > CC hw/usb/hcd-xhci.o > /home/petmay01/linaro/qemu-for-merges/hw/usb/hcd-xhci.c: In function > ‘usb_xhci_realize’: > /home/petmay01/linaro/qemu-for-merges/hw/usb/hcd-xhci.c:3340:66: > error: ‘%d’ directive output may be truncated writing between 1 and 11 > bytes into a region of size 5 [-Werror=format-truncation=] > snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1);
Which system/compiler is this? cheers, Gerd