]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ppc/spapr_tpm_proxy: Fix hexadecimal format string specifier
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 3 Nov 2020 11:25:57 +0000 (12:25 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 14 Dec 2020 04:54:12 +0000 (15:54 +1100)
commit728aa6f6ffd8cf21d9485eff7ac1926b00155ed2
treec6733964d9d04fd91fb315d19fcdbaaaa7488477
parentbcb0b7b1a1c05707304f80ca6f523d557816f85c
hw/ppc/spapr_tpm_proxy: Fix hexadecimal format string specifier

The '%u' conversion specifier is for decimal notation.
When prefixing a format with '0x', we want the hexadecimal
specifier ('%x').

Inspired-by: Dov Murik <dovmurik@linux.vnet.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201103112558.2554390-4-philmd@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/trace-events