summaryrefslogtreecommitdiffstats
path: root/commands/iomem.c
diff options
context:
space:
mode:
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 96b03bab8..70355fd1e 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);