From 8b56079e2b1982a13216150e7a2b6250efe4deec Mon Sep 17 00:00:00 2001 From: David Xu Date: Fri, 20 Jun 2003 01:56:28 +0000 Subject: [PATCH] Fix typo. td should be td0. --- sys/kern/kern_sig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 588c31e06cbb..c40044cce163 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1760,7 +1760,7 @@ tdsignal(struct thread *td, int sig) mtx_lock_spin(&sched_lock); FOREACH_THREAD_IN_PROC(p, td0) { if (TD_IS_SLEEPING(td0) && - (td->td_flags & TDF_SINTR)) + (td0->td_flags & TDF_SINTR)) thread_suspend_one(td0); } thread_stopped(p);