summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-03-17 13:53:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-03-17 13:53:24 +0000
commit3918bb72bdc6eedc6c7f264815688c668562eb66 (patch)
treee74064395b2ea7dc822fa340dac5b19e32a18c9b /sys/uvm/uvm_map.c
parent8e443bb412cd99bc42a06075e051d052fd4a22b3 (diff)
fix a non-DIAGNOSTIC gotcha
Diffstat (limited to 'sys/uvm/uvm_map.c')
-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 */