diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-06-20 01:56:28 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-06-20 01:56:28 +0000 |
commit | c0a849442b33e0542e11f3216f85775d8c5402f7 (patch) | |
tree | a7b03b282de67506904f6479f38c8e23507a420c /sys/kern/kern_sig.c | |
parent | 1ce49745e115dd46748dc1fe3cd248cf2da9e0d8 (diff) | |
download | FreeBSD-src-c0a849442b33e0542e11f3216f85775d8c5402f7.zip FreeBSD-src-c0a849442b33e0542e11f3216f85775d8c5402f7.tar.gz |
Fix typo. td should be td0.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 588c31e..c40044c 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); |