summaryrefslogtreecommitdiffstats
path: root/hw/i386/trace-events
diff options
context:
space:
mode:
authorLaurent Vivier2016-06-22 17:34:02 +0200
committerMichael Tokarev2016-09-13 17:12:34 +0200
commitdeff0ddb869d4a32f9c55fe3e420b7128792f798 (patch)
treef566c617b77b3dcd3ea944ff56fc1760a5ab1f98 /hw/i386/trace-events
parentlinux-user, trivial: display "0x%x" instead of "0x%d" (diff)
downloadqemu-deff0ddb869d4a32f9c55fe3e420b7128792f798.tar.gz
qemu-deff0ddb869d4a32f9c55fe3e420b7128792f798.tar.xz
qemu-deff0ddb869d4a32f9c55fe3e420b7128792f798.zip
trace-event: display "%d" instead of "0x%d"
Display the slot number of mhp_pc_dimm_assigned_slot() using "%d" without the "0x". Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/i386/trace-events')
-rw-r--r--hw/i386/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/trace-events b/hw/i386/trace-events
index 7735e46eaf..5b99eba7b9 100644
--- a/hw/i386/trace-events
+++ b/hw/i386/trace-events
@@ -8,7 +8,7 @@ xen_pv_mmio_read(uint64_t addr) "WARNING: read from Xen PV Device MMIO space (ad
xen_pv_mmio_write(uint64_t addr) "WARNING: write to Xen PV Device MMIO space (address %"PRIx64")"
# hw/i386/pc.c
-mhp_pc_dimm_assigned_slot(int slot) "0x%d"
+mhp_pc_dimm_assigned_slot(int slot) "%d"
mhp_pc_dimm_assigned_address(uint64_t addr) "0x%"PRIx64
# hw/i386/x86-iommu.c