From c819dfaeba2efc22541960dcf8aed0ce9e8bf19d Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Tue, 19 Apr 2011 07:49:58 +0000 Subject: [PATCH] Add leading zeros when printing the physical memory chunks on __powerpc64__. Approved by: nwhitehorn (mentor) --- sys/powerpc/aim/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index efcfaac0ebe..65c9db1dae3 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