]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/vfio/pci.c
trace: forbid use of %m in trace event format strings
[mirror_qemu.git] / hw / vfio / pci.c
index c0cb1ec289084eb1593f24dc423e647f4b29eb74..dd12f363915de72c6f99ee7be95f1b80fa2ef2ee 100644 (file)
@@ -2581,7 +2581,7 @@ static void vfio_populate_device(VFIOPCIDevice *vdev, Error **errp)
     ret = ioctl(vdev->vbasedev.fd, VFIO_DEVICE_GET_IRQ_INFO, &irq_info);
     if (ret) {
         /* This can fail for an old kernel or legacy PCI dev */
-        trace_vfio_populate_device_get_irq_info_failure();
+        trace_vfio_populate_device_get_irq_info_failure(strerror(errno));
     } else if (irq_info.count == 1) {
         vdev->pci_aer = true;
     } else {