summaryrefslogtreecommitdiffstats
path: root/commands/iomem.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-06-25 19:19:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-25 19:19:52 +0200
commitfd4c51aa28acfd61e1802cb5ab1197d808e7da82 (patch)
tree13ea69c5a85b1810e30632dcaa27f78f2317b7da /commands/iomem.c
parent8ee6700a4c39fe7031ef977aa4e0c208366e13dc (diff)
parent2ca512e5923bb2d66a13211af9401c53735052b2 (diff)
downloadbarebox-fd4c51aa28acfd61e1802cb5ab1197d808e7da82.tar.gz
barebox-fd4c51aa28acfd61e1802cb5ab1197d808e7da82.tar.xz
Merge branch 'pu/sandbox-fixes'
Diffstat (limited to 'commands/iomem.c')
-rw-r--r--commands/iomem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/iomem.c b/commands/iomem.c
index 96b03bab80..70355fd1e9 100644
--- a/commands/iomem.c
+++ b/commands/iomem.c
@@ -30,7 +30,8 @@ static void __print_resources(struct resource *res, int indent)
for (i = 0; i < indent; i++)
printf(" ");
- printf("0x%08x - 0x%08x (size 0x%08x) %s\n", res->start,
+ printf(PRINTF_CONVERSION_RESOURCE " - " PRINTF_CONVERSION_RESOURCE
+ " (size " PRINTF_CONVERSION_RESOURCE ") %s\n", res->start,
res->start + res->size - 1,
res->size, res->name);