diff mbox

trace-event: display "%d" instead of "0x%d"

Message ID 1466609642-17709-1-git-send-email-lvivier@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Vivier June 22, 2016, 3:34 p.m. UTC
Display the slot number of mhp_pc_dimm_assigned_slot()
using "%d" without the "0x".

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
 hw/i386/trace-events | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tokarev July 26, 2016, 12:34 p.m. UTC | #1
22.06.2016 18:34, Laurent Vivier wrote:
> Display the slot number of mhp_pc_dimm_assigned_slot()
> using "%d" without the "0x".

Applied to -trivial, thanks!

/mjt
diff mbox

Patch

diff --git a/hw/i386/trace-events b/hw/i386/trace-events
index ea77bc2..71fc191 100644
--- a/hw/i386/trace-events
+++ b/hw/i386/trace-events
@@ -8,5 +8,5 @@  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