From: David Hildenbrand Date: Fri, 5 Oct 2018 09:20:09 +0000 (+0200) Subject: memory-device: fix alignment error message X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7c63ba2055a0a27cdd6ae835f5964f7895d18edc;p=qemu.git memory-device: fix alignment error message We're missing "x" after the leading 0. Reviewed-by: David Gibson Reviewed-by: Igor Mammedov Signed-off-by: David Hildenbrand Message-Id: <20181005092024.14344-2-david@redhat.com> Signed-off-by: Eduardo Habkost --- diff --git a/hw/mem/memory-device.c b/hw/mem/memory-device.c index 6de4f70bb4..0b52fe2c5e 100644 --- a/hw/mem/memory-device.c +++ b/hw/mem/memory-device.c @@ -120,7 +120,7 @@ uint64_t memory_device_get_free_addr(MachineState *ms, const uint64_t *hint, /* address_space_start indicates the maximum alignment we expect */ if (QEMU_ALIGN_UP(address_space_start, align) != address_space_start) { - error_setg(errp, "the alignment (0%" PRIx64 ") is not supported", + error_setg(errp, "the alignment (0x%" PRIx64 ") is not supported", align); return 0; }