Use %zu to print a size_t value instead of %ju.
This fixes the build for 32-bit kernels.
This commit is contained in:
parent
fdbb2410cb
commit
d3920c5b12
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user