Author: markj
Date: Fri Oct  2 18:54:37 2020
New Revision: 366376
URL: https://svnweb.freebsd.org/changeset/base/366376

Log:
  Fix the INVARIANTS build for 32-bit platforms
  
  Reported by:  Jenkins
  MFC with:     r366368

Modified:
  head/sys/kern/imgact_elf.c

Modified: head/sys/kern/imgact_elf.c
==============================================================================
--- head/sys/kern/imgact_elf.c  Fri Oct  2 18:35:55 2020        (r366375)
+++ head/sys/kern/imgact_elf.c  Fri Oct  2 18:54:37 2020        (r366376)
@@ -1543,8 +1543,7 @@ core_output(char *base, size_t len, off_t offset, stru
        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));
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to