From 4648f4cf28f3313a9c82c265e951b74472fd0f62 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 9 Jun 2021 18:06:51 +0200 Subject: memory.c: fix warning Signed-off-by: Denis 'GNUtoo' Carikli --- memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory.c b/memory.c index f5da796..2dab75c 100644 --- a/memory.c +++ b/memory.c @@ -222,7 +222,7 @@ int read_word(int debug, struct memory_mapping *memory_mapping, *result = *virt_addr; if (debug) - printf("%s: addr=0x%llx, result=0x%x\n", + printf("%s: addr=0x%llx, result=0x%lx\n", __func__, (long long int)addr, *result); return 0; -- cgit v1.2.3