if (list->count == 0) {
virObjectUnref(list);
if (!mandatory) {
- VIR_DEBUG("Did not find USB device %x:%x",
+ VIR_DEBUG("Did not find USB device %04x:%04x",
vendor, product);
if (devices)
*devices = NULL;
}
virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Did not find USB device %x:%x"), vendor, product);
+ _("Did not find USB device %04x:%04x"), vendor, product);
return -1;
}
if (list->count == 0) {
virObjectUnref(list);
if (!mandatory) {
- VIR_DEBUG("Did not find USB device %x:%x bus:%u device:%u",
+ VIR_DEBUG("Did not find USB device %04x:%04x bus:%u device:%u",
vendor, product, bus, devno);
if (usb)
*usb = NULL;
}
virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Did not find USB device %x:%x bus:%u device:%u"),
+ _("Did not find USB device %04x:%04x bus:%u device:%u"),
vendor, product, bus, devno);
return -1;
}