diff options
author | Eric Auger <eric.auger@redhat.com> | 2022-05-02 02:42:21 -0700 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-05-06 09:06:50 -0600 |
commit | 9d38ffc5d82839cdc9effb2e9ee84a6941a25e1a (patch) | |
tree | 56e6d683f55486b0cb44601b14b7c381b4e0d014 /trace-events | |
parent | 851d6d1a0ff29a87ec588205842edf6b86d99b5c (diff) |
hw/vfio/pci: fix vfio_pci_hot_reset_result trace point
"%m" format specifier is not interpreted by the trace infrastructure
and thus "%m" is output instead of the actual errno string. Fix it by
outputting strerror(errno).
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20220502094223.36384-2-yi.l.liu@intel.com
[aw: replace commit log as provided by Eric]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'trace-events')
0 files changed, 0 insertions, 0 deletions