Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2016 20:19:32 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r310556 - head/sys/powerpc/powerpc
Message-ID:  <201612252019.uBPKJWQ1093698@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sun Dec 25 20:19:32 2016
New Revision: 310556
URL: https://svnweb.freebsd.org/changeset/base/310556

Log:
  Use the correct format specifier for physmem chunk sizes.
  
  Arguments are unsigned, so should be printed as unsigned.

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

Modified: head/sys/powerpc/powerpc/machdep.c
==============================================================================
--- head/sys/powerpc/powerpc/machdep.c	Sun Dec 25 20:17:15 2016	(r310555)
+++ head/sys/powerpc/powerpc/machdep.c	Sun Dec 25 20:19:32 2016	(r310556)
@@ -199,7 +199,7 @@ cpu_startup(void *dummy)
 			    phys_avail[indx + 1] - phys_avail[indx];
 
 			#ifdef __powerpc64__
-			printf("0x%016jx - 0x%016jx, %jd bytes (%jd pages)\n",
+			printf("0x%016jx - 0x%016jx, %ju bytes (%ju pages)\n",
 			#else
 			printf("0x%09jx - 0x%09jx, %ju bytes (%ju pages)\n",
 			#endif



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