svn commit: r366376 - head/sys/kern

Mark Johnston markj at FreeBSD.org
Fri Oct 2 18:54:38 UTC 2020


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


More information about the svn-src-all mailing list