]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/kern_lock.c
xnu-517.9.4.tar.gz
[apple/xnu.git] / bsd / kern / kern_lock.c
index d8ba1e858b0078cd110e9885eef62c6eddd8a0ad..898924500ecc63b2fc7b1b39575bd43c30003bc4 100644 (file)
@@ -189,7 +189,7 @@ lockmgr(lkp, flags, interlkp, p)
        int extflags;
        void *self;
 
-       error = 0; self = current_thread();
+       error = 0; self = current_act();
        if (p)
                pid = p->p_pid;
        else