From c88285c54abdda9b9affa0214b82940fbea47d25 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Fri, 2 Oct 2020 18:54:37 +0000 Subject: [PATCH] Fix the INVARIANTS build for 32-bit platforms Reported by: Jenkins MFC with: r366368 --- sys/kern/imgact_elf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index d43bcb07cc6..872ba6fccfa 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -1543,8 +1543,7 @@ core_output(char *base, size_t len, off_t offset, struct coredump_params *p, bool success; KASSERT((uintptr_t)base % PAGE_SIZE == 0, - ("%s: user address %#lx is not page-aligned", - __func__, (uintptr_t)base)); + ("%s: user address %p is not page-aligned", __func__, base)); if (p->comp != NULL) return (compress_chunk(p, base, tmpbuf, len)); -- 2.45.2