Use %zu to print a size_t value instead of %ju.

This fixes the build for 32-bit kernels.
This commit is contained in:
John Baldwin 2020-04-16 20:46:35 +00:00
parent fdbb2410cb
commit d3920c5b12

View File

@ -928,7 +928,7 @@ moea64_mid_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend)
}
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);
}