aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/erst-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/erst-test.c')
-rw-r--r--tests/qtest/erst-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/erst-test.c b/tests/qtest/erst-test.c
index c6a0ae4013..f94cd8dd8e 100644
--- a/tests/qtest/erst-test.c
+++ b/tests/qtest/erst-test.c
@@ -75,7 +75,7 @@ static inline uint64_t in_reg64(ERSTState *s, unsigned reg)
uint64_t res;
res = qpci_io_readq(s->dev, s->reg_bar, reg);
- g_test_message("*%s -> %016llx", name, (unsigned long long)res);
+ g_test_message("*%s -> %016" PRIx64, name, res);
return res;
}