From c97446210646b03e9541ae294722fca52e8ff189 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 21 Jan 2024 00:26:15 +0000 Subject: oops, brain scrambled trying to squeeze the ifdef into bad place --- sys/uvm/uvm_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/uvm') 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 { -- cgit v1.2.3