From d3920c5b121cce2e549da58fbba69ffd26c3e9f0 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 16 Apr 2020 20:46:35 +0000 Subject: [PATCH] Use %zu to print a size_t value instead of %ju. This fixes the build for 32-bit kernels. --- sys/powerpc/aim/mmu_oea64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c index 82d38d2f70ea..ab611b7a59ad 100644 --- a/sys/powerpc/aim/mmu_oea64.c +++ b/sys/powerpc/aim/mmu_oea64.c @@ -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); }