diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_prot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index 5132d2e..221a84c 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -409,7 +409,7 @@ setpgid(struct thread *td, register struct setpgid_args *uap) error = ESRCH; goto done; } - if ((error = p_cansee(curthread, targp))) { + if ((error = p_cansee(td, targp))) { PROC_UNLOCK(targp); goto done; } |