hw/display/cirrus_vga: Fix hexadecimal format string specifier
commite016a844ddfc94167fa25d55b46e1d1accafdec2
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 3 Nov 2020 11:25:56 +0000 (3 12:25 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Nov 2020 06:36:33 +0000 (13 07:36 +0100)
treee485372a644e7b72300fad21ee9f351f79620495
parent0d5528612badad84821c5d93c82253f86987659d
hw/display/cirrus_vga: 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>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 20201103112558.2554390-3-philmd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/cirrus_vga.c