diff options
author | 2011-07-05 03:10:29 +0000 | |
---|---|---|
committer | 2011-07-05 03:10:29 +0000 | |
commit | 841f45eb85920243e8a303dd8afa2606f66673fc (patch) | |
tree | e5bbc4365f8277e2bf131fa59f6ce6e008feffd0 /sys | |
parent | Fixed some bugs of priv_send(). The bugs caused sending routing messages (diff) | |
download | wireguard-openbsd-841f45eb85920243e8a303dd8afa2606f66673fc.tar.xz wireguard-openbsd-841f45eb85920243e8a303dd8afa2606f66673fc.zip |
allow option KVA_GUARDPAGES to compile.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index b9f97c60359..17227ca835b 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.144 2011/07/03 18:36:49 oga Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.145 2011/07/05 03:10:29 dhill Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -958,7 +958,7 @@ step3: */ if (map == kernel_map && !(flags & UVM_FLAG_FIXED)) { guard_entry = uvm_mapent_alloc(map, flags); - if (guard_entry != NULL { + if (guard_entry != NULL) { guard_entry->start = new_entry->end; guard_entry->end = guard_entry->start + PAGE_SIZE; guard_entry->object.uvm_obj = uobj; |