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