aboutsummaryrefslogtreecommitdiff
path: root/block/parallels-ext.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-03-23 12:47:17 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2022-03-24 10:38:42 +0000
commit3f1db95917bf0b4accaf8f56d43f795fed1fb733 (patch)
treea82fa1c30799753d45c40fe5d8a428b9325df2b7 /block/parallels-ext.c
parent15ef89d2a1a7b93845a6b09c2ee8e1979f6eb30b (diff)
downloadqemu-3f1db95917bf0b4accaf8f56d43f795fed1fb733.zip
qemu-3f1db95917bf0b4accaf8f56d43f795fed1fb733.tar.gz
qemu-3f1db95917bf0b4accaf8f56d43f795fed1fb733.tar.bz2
block: Fix misleading hexadecimal format
"0x%u" format is very misleading, replace by "0x%x". Found running: $ git grep -E '0x%[0-9]*([lL]*|" ?PRI)[dDuU]' block/ Inspired-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Denis V. Lunev <den@openvz.org> Message-id: 20220323114718.58714-2-philippe.mathieu.daude@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/parallels-ext.c')
-rw-r--r--block/parallels-ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/parallels-ext.c b/block/parallels-ext.c
index cb22a42..5122f67 100644
--- a/block/parallels-ext.c
+++ b/block/parallels-ext.c
@@ -261,7 +261,7 @@ static int parallels_parse_format_extension(BlockDriverState *bs,
break;
default:
- error_setg(errp, "Unknown feature: 0x%" PRIu64, fh.magic);
+ error_setg(errp, "Unknown feature: 0x%" PRIx64, fh.magic);
goto fail;
}