svn commit: r360023 - head/sys/powerpc/aim
John Baldwin
jhb at FreeBSD.org
Thu Apr 16 20:46:36 UTC 2020
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);
}
More information about the svn-src-all
mailing list