Oops, don't change tdsignal call.

This commit is contained in:
davidxu 2005-11-03 01:38:49 +00:00
parent ef1e34d5ce
commit 681f3fdd39

View File

@ -321,7 +321,7 @@ thr_kill(struct thread *td, struct thr_kill_args *uap)
error = EINVAL;
goto out;
}
tdsignal(p, ttd, uap->sig, NULL);
tdsignal(ttd, uap->sig, NULL, SIGTARGET_TD);
out:
PROC_UNLOCK(p);
return (error);