fix a non-DIAGNOSTIC gotcha
authorderaadt <deraadt@openbsd.org>
Fri, 17 Mar 2000 13:53:23 +0000 (13:53 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 17 Mar 2000 13:53:23 +0000 (13:53 +0000)
sys/uvm/uvm_map.c

index c7c34a8..e5bc2a0 100644 (file)
@@ -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 */