Module Name:    src
Committed By:   christos
Date:           Thu May 19 21:39:15 UTC 2016

Modified Files:
        src/sys/kern: kern_pax.c

Log Message:
fix for ILP32.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/kern/kern_pax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_pax.c
diff -u src/sys/kern/kern_pax.c:1.46 src/sys/kern/kern_pax.c:1.47
--- src/sys/kern/kern_pax.c:1.46	Mon May 16 20:38:50 2016
+++ src/sys/kern/kern_pax.c	Thu May 19 17:39:15 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_pax.c,v 1.46 2016/05/17 00:38:50 christos Exp $	*/
+/*	$NetBSD: kern_pax.c,v 1.47 2016/05/19 21:39:15 christos Exp $	*/
 
 /*
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_pax.c,v 1.46 2016/05/17 00:38:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_pax.c,v 1.47 2016/05/19 21:39:15 christos Exp $");
 
 #include "opt_pax.h"
 
@@ -488,7 +488,8 @@ pax_aslr_init_vm(struct lwp *l, struct v
 	vm->vm_aslr_delta_mmap = PAX_ASLR_DELTA(rand,
 	    PAX_ASLR_DELTA_MMAP_LSB, len);
 
-	PAX_DPRINTF("delta_mmap=%#jx/%u", vm->vm_aslr_delta_mmap, len);
+	PAX_DPRINTF("delta_mmap=%#jx/%u",
+	    (uintmax_t)vm->vm_aslr_delta_mmap, len);
 }
 
 void

Reply via email to