From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFkAS-0004Pj-3D for qemu-devel@nongnu.org; Wed, 22 Jun 2016 11:34:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFkAN-0006Uj-4I for qemu-devel@nongnu.org; Wed, 22 Jun 2016 11:34:15 -0400 From: Laurent Vivier Date: Wed, 22 Jun 2016 17:34:02 +0200 Message-Id: <1466609642-17709-1-git-send-email-lvivier@redhat.com> Subject: [Qemu-devel] [PATCH] trace-event: display "%d" instead of "0x%d" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost , qemu-trivial@nongnu.org, eblake@redhat.com, Laurent Vivier Display the slot number of mhp_pc_dimm_assigned_slot() using "%d" without the "0x". Signed-off-by: Laurent Vivier --- hw/i386/trace-events | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.5.5