From ac16fbb1e86ebc2e6d4b412d0f2cf13a7eb2f678 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 17 Mar 2000 13:53:23 +0000 Subject: [PATCH] fix a non-DIAGNOSTIC gotcha --- sys/uvm/uvm_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.20.1