From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1alxpe-0005IS-GZ for barebox@lists.infradead.org; Fri, 01 Apr 2016 12:05:45 +0000 From: Sascha Hauer Date: Fri, 1 Apr 2016 14:05:17 +0200 Message-Id: <1459512319-32073-3-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1459512319-32073-1-git-send-email-s.hauer@pengutronix.de> References: <1459512319-32073-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/4] ARM: start: Fix wrong format specifier To: Barebox List 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 d03d1ed..e037d91 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); -- 2.7.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox