From 46581896f396ff4c5e54eb7826bcea129a00e6c3 Mon Sep 17 00:00:00 2001 From: markj Date: Sat, 8 Sep 2018 23:39:26 +0000 Subject: [PATCH] Fix the 32-bit arm build. X-MFC with: r338537 Approved by: re (rgrimes) Sponsored by: The FreeBSD Foundation --- sys/arm/arm/physmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arm/arm/physmem.c b/sys/arm/arm/physmem.c index 0e6744429107..8a97f9883451 100644 --- a/sys/arm/arm/physmem.c +++ b/sys/arm/arm/physmem.c @@ -373,7 +373,8 @@ arm_physmem_exclude_region(vm_paddr_t pa, vm_size_t sz, uint32_t exflags) sz = round_page(sz + adj); if (excnt >= nitems(exregions)) - panic("failed to exclude region %#lx-%#lx", pa, pa + sz); + panic("failed to exclude region %#jx-%#jx", (uintmax_t)pa, + (uintmax_t)(pa + sz)); excnt = insert_region(exregions, excnt, pa, sz, exflags); }