summaryrefslogtreecommitdiffstats
path: root/common/uimage.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-06-02 17:18:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-05 09:35:31 +0200
commit8f8a18906b8280645a5ee560de78b00799eef767 (patch)
treebae6325c4d7d52368f30b334e02cc4166f49b5d6 /common/uimage.c
parent0831642edc4cd48b03b72df44b17180c22f338bd (diff)
downloadbarebox-8f8a18906b8280645a5ee560de78b00799eef767.tar.gz
fix format specifiers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/uimage.c')
-rw-r--r--common/uimage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/uimage.c b/common/uimage.c
index 243dfb0..4ef0968 100644
--- a/common/uimage.c
+++ b/common/uimage.c
@@ -353,7 +353,9 @@ static int uimage_sdram_flush(void *buf, unsigned int len)
uimage_resource = request_sdram_region("uimage",
start, size);
if (!uimage_resource) {
- printf("unable to request SDRAM 0x%08x-0x%08x\n",
+ printf("unable to request SDRAM "
+ PRINTF_CONVERSION_RESOURCE "-"
+ PRINTF_CONVERSION_RESOURCE "\n",
start, start + size - 1);
return -ENOMEM;
}