[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] trace-event: display "%d" instead of "0x%d"
From: |
Eric Blake |
Subject: |
Re: [Qemu-trivial] [PATCH] trace-event: display "%d" instead of "0x%d" |
Date: |
Wed, 22 Jun 2016 09:38:21 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 06/22/2016 09:34 AM, Laurent Vivier wrote:
> Display the slot number of mhp_pc_dimm_assigned_slot()
> using "%d" without the "0x".
>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> hw/i386/trace-events | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Eric Blake <address@hidden>
>
> 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
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature