Author: jhb
Date: Thu Apr 16 20:46:35 2020
New Revision: 360023
URL: https://svnweb.freebsd.org/changeset/base/360023

Log:
  Use %zu to print a size_t value instead of %ju.
  
  This fixes the build for 32-bit kernels.

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

Modified: head/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea64.c    Thu Apr 16 20:45:54 2020        
(r360022)
+++ head/sys/powerpc/aim/mmu_oea64.c    Thu Apr 16 20:46:35 2020        
(r360023)
@@ -928,7 +928,7 @@ moea64_mid_bootstrap(mmu_t mmup, vm_offset_t kernelsta
        }
 
        if (boothowto & RB_VERBOSE) {
-               printf("mmu_oea64: bpvo pool entries = %d, bpvo pool size = %ju 
MB\n",
+               printf("mmu_oea64: bpvo pool entries = %d, bpvo pool size = %zu 
MB\n",
                    moea64_bpvo_pool_size,
                    moea64_bpvo_pool_size*sizeof(struct pvo_entry) / 1048576);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to