summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-01-21 00:26:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-01-21 00:26:15 +0000
commitc97446210646b03e9541ae294722fca52e8ff189 (patch)
treeded53f5272687bc3cfd38359e9e991d96e07bc91 /sys/uvm
parent5ab80022cffe4554ab9d653d6a7cf9abbae1c1ac (diff)
oops, brain scrambled trying to squeeze the ifdef into bad place
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index c877457db64..e74948b0a58 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.c,v 1.322 2024/01/21 00:23:29 deraadt Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.323 2024/01/21 00:26:14 deraadt Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@ -3149,7 +3149,7 @@ uvm_map_protect(struct vm_map *map, vaddr_t start, vaddr_t end,
if (iter->protection == (PROT_READ | PROT_WRITE) &&
new_prot == PROT_READ) {
/* Permit RW to R as a data-locking mechanism */
- goto ok;
+ ;
} else
#endif
{