From: deraadt Date: Fri, 17 Mar 2000 13:53:23 +0000 (+0000) Subject: fix a non-DIAGNOSTIC gotcha X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ac16fbb1e86ebc2e6d4b412d0f2cf13a7eb2f678;p=openbsd fix a non-DIAGNOSTIC gotcha --- 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 */