summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/memtest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/commands/memtest.c b/commands/memtest.c
index 99d4864e70..403ab91f6f 100644
--- a/commands/memtest.c
+++ b/commands/memtest.c
@@ -33,9 +33,8 @@ static int do_test_one_area(struct mem_test_resource *r, int bus_only,
{
int ret;
- printf("Testing memory space: "
- "0x%08x -> 0x%08x:\n",
- r->r->start, r->r->end);
+ printf("Testing memory space: %pa -> %pa:\n",
+ &r->r->start, &r->r->end);
remap_range((void *)r->r->start, r->r->end -
r->r->start + 1, cache_flag);