Oops, don't change tdsignal call.

This commit is contained in:
David Xu 2005-11-03 01:38:49 +00:00
parent 44355392b4
commit d1f16b4d2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151991

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);