summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/machdep.c
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2011-04-19 07:49:58 +0000
committerandreast <andreast@FreeBSD.org>2011-04-19 07:49:58 +0000
commitebedcfac8977c396375e952c56d739bc5eb917ed (patch)
tree857b8fbb605228558fa4184edb31a94e254636b0 /sys/powerpc/aim/machdep.c
parentb1b31d4cfa3e06c0a1e1d719bde72be095f5affe (diff)
downloadFreeBSD-src-ebedcfac8977c396375e952c56d739bc5eb917ed.zip
FreeBSD-src-ebedcfac8977c396375e952c56d739bc5eb917ed.tar.gz
Add leading zeros when printing the physical memory chunks on __powerpc64__.
Approved by: nwhitehorn (mentor)
Diffstat (limited to 'sys/powerpc/aim/machdep.c')
-rw-r--r--sys/powerpc/aim/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index efcfaac..65c9db1 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -202,7 +202,7 @@ cpu_startup(void *dummy)
phys_avail[indx + 1] - phys_avail[indx];
#ifdef __powerpc64__
- printf("0x%16lx - 0x%16lx, %ld bytes (%ld pages)\n",
+ printf("0x%016lx - 0x%016lx, %ld bytes (%ld pages)\n",
#else
printf("0x%08x - 0x%08x, %d bytes (%ld pages)\n",
#endif
OpenPOWER on IntegriCloud