From c44d92683f24d234a51c2cea62d199e7ab43d08a Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 1 Apr 2016 10:51:58 +0200 Subject: [PATCH] ARM: start: Fix wrong format specifier Print a hex number after 0x, not a decimal number. Signed-off-by: Sascha Hauer --- arch/arm/cpu/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c index d03d1edfa..e037d91f9 100644 --- a/arch/arm/cpu/start.c +++ b/arch/arm/cpu/start.c @@ -193,7 +193,7 @@ __noreturn void barebox_non_pbl_start(unsigned long membase, if (totalsize) { unsigned long mem = arm_mem_boarddata(membase, endmem, totalsize); - pr_debug("found %s in boarddata, copying to 0x%lu\n", + pr_debug("found %s in boarddata, copying to 0x%08lx\n", name, mem); barebox_boarddata = memcpy((void *)mem, boarddata, totalsize);