aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/sgx.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-03-23 12:47:18 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2022-03-24 10:38:42 +0000
commit2539eade4f689eda7e9fe45486f18334bfbafaf0 (patch)
treeeba9f7946a14f2fe6a97b337b923dc44e8783953 /hw/i386/sgx.c
parent3f1db95917bf0b4accaf8f56d43f795fed1fb733 (diff)
hw: 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]' hw/ Inspired-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-id: 20220323114718.58714-3-philippe.mathieu.daude@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/i386/sgx.c')
-rw-r--r--hw/i386/sgx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/sgx.c b/hw/i386/sgx.c
index a2b318dd93..a44d66ba2a 100644
--- a/hw/i386/sgx.c
+++ b/hw/i386/sgx.c
@@ -315,7 +315,7 @@ void pc_machine_init_sgx_epc(PCMachineState *pcms)
}
if ((sgx_epc->base + sgx_epc->size) < sgx_epc->base) {
- error_report("Size of all 'sgx-epc' =0x%"PRIu64" causes EPC to wrap",
+ error_report("Size of all 'sgx-epc' =0x%"PRIx64" causes EPC to wrap",
sgx_epc->size);
exit(EXIT_FAILURE);
}