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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to