Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix for ILP32.
details: https://anonhg.NetBSD.org/src/rev/7c98f38b783c
branches: trunk
changeset: 815480:7c98f38b783c
user: christos <christos%NetBSD.org@localhost>
date: Thu May 19 21:39:15 2016 +0000
description:
fix for ILP32.
diffstat:
sys/kern/kern_pax.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 32414043b2c1 -r 7c98f38b783c sys/kern/kern_pax.c
--- a/sys/kern/kern_pax.c Thu May 19 20:27:36 2016 +0000
+++ b/sys/kern/kern_pax.c Thu May 19 21:39:15 2016 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index