summaryrefslogtreecommitdiffstats
path: root/sys/mips/rmi
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2011-01-19 21:45:40 +0000
committerjmallett <jmallett@FreeBSD.org>2011-01-19 21:45:40 +0000
commitc2386b92fd0c3720f8a20d1efebbf7fb5e712a82 (patch)
treec6aaeecc8e7ae2bdb80fbd93ca9c849a12329ec0 /sys/mips/rmi
parent09ea6d899543866189d86713f7c1d702778216d9 (diff)
downloadFreeBSD-src-c2386b92fd0c3720f8a20d1efebbf7fb5e712a82.zip
FreeBSD-src-c2386b92fd0c3720f8a20d1efebbf7fb5e712a82.tar.gz
Fix format of physical addresses; this fixes the n32 build.
Diffstat (limited to 'sys/mips/rmi')
-rw-r--r--sys/mips/rmi/xlr_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/rmi/xlr_machdep.c b/sys/mips/rmi/xlr_machdep.c
index dd1049a..71dae0f 100644
--- a/sys/mips/rmi/xlr_machdep.c
+++ b/sys/mips/rmi/xlr_machdep.c
@@ -358,9 +358,9 @@ xlr_mem_init(void)
}
phys_avail[1] = boot_map->physmem_map[0].addr +
boot_map->physmem_map[0].size;
- printf("First segment: addr:%p -> %p \n",
- (void *)phys_avail[0],
- (void *)phys_avail[1]);
+ printf("First segment: addr:%#jx -> %#jx \n",
+ (uintmax_t)phys_avail[0],
+ (uintmax_t)phys_avail[1]);
dump_avail[0] = phys_avail[0];
dump_avail[1] = phys_avail[1];
OpenPOWER on IntegriCloud