Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2011 07:49:58 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220818 - head/sys/powerpc/aim
Message-ID:  <201104190749.p3J7nw2T098880@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104190749.p3J7nw2T098880>