Message ID | 165187013241.4166595.5526182306764482522.stgit@omen (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [PULL,01/11] vfio: simplify the conditional statements in vfio_msi_enable | expand |
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index ef9d7bf326de..cb912bd3f4b2 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -2380,7 +2380,7 @@ static int vfio_pci_hot_reset(VFIOPCIDevice *vdev, bool single) g_free(reset); trace_vfio_pci_hot_reset_result(vdev->vbasedev.name, - ret ? "%m" : "Success"); + ret ? strerror(errno) : "Success"); out: /* Re-enable INTx on affected devices */