svn commit: r220818 - head/sys/powerpc/aim

Andreas Tobler andreast at FreeBSD.org
Tue Apr 19 07:49:58 UTC 2011


Author: andreast
Date: Tue Apr 19 07:49:58 2011
New Revision: 220818
URL: http://svn.freebsd.org/changeset/base/220818

Log:
  Add leading zeros when printing the physical memory chunks on __powerpc64__.
  
  Approved by:	nwhitehorn (mentor)

Modified:
  head/sys/powerpc/aim/machdep.c

Modified: head/sys/powerpc/aim/machdep.c
==============================================================================
--- head/sys/powerpc/aim/machdep.c	Tue Apr 19 07:45:54 2011	(r220817)
+++ head/sys/powerpc/aim/machdep.c	Tue Apr 19 07:49:58 2011	(r220818)
@@ -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


More information about the svn-src-all mailing list