]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/block/xen: use proper format string for printing sectors
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 16 Jan 2019 12:13:50 +0000 (12:13 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jan 2019 14:45:49 +0000 (14:45 +0000)
commitcce871c504694cf1034adf525556e3ca3c7eebb6
treeac149a354db60bf01bbf8fa2c55139d1be2eb9fe
parentbbca106776ab5decb01a0f101c67524546a1fcd2
hw/block/xen: use proper format string for printing sectors

The %lu format string is different depending on the host architecture
which causes builds like the debian-armhf-cross build to fail. Use the
correct PRi64 format string.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190116121350.23863-1-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/block/xen-block.c