Fix the INVARIANTS build for 32-bit platforms

Reported by:	Jenkins
MFC with:	r366368
This commit is contained in:
Mark Johnston 2020-10-02 18:54:37 +00:00
parent afd95785c0
commit c88285c54a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366376

View File

@ -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));