summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-03-17 13:53:23 +0000
committerderaadt <deraadt@openbsd.org>2000-03-17 13:53:23 +0000
commitac16fbb1e86ebc2e6d4b412d0f2cf13a7eb2f678 (patch)
tree6d2cd9cb3f8e5d101a5401add6a2290e76ebca57
parentCryptographic services framework, and software "device driver". The (diff)
downloadwireguard-openbsd-ac16fbb1e86ebc2e6d4b412d0f2cf13a7eb2f678.tar.xz
wireguard-openbsd-ac16fbb1e86ebc2e6d4b412d0f2cf13a7eb2f678.zip
fix a non-DIAGNOSTIC gotcha
-rw-r--r--sys/uvm/uvm_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index c7c34a8f9bd..e5bc2a01187 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -199,7 +199,7 @@ do { \
} while (0)
#else
#define vm_map_upgrade(map) \
- (void) lockmgr(&(map)->lock, LK_UPGRADE, NULL)
+ (void) lockmgr(&(map)->lock, LK_UPGRADE, NULL, curproc)
#endif /* DIAGNOSTIC */