diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-04-19 04:39:10 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-04-19 04:39:10 +0000 |
commit | 8ef415ed061dc2a2a957c2f56a03b665be5d6a11 (patch) | |
tree | b752fb2cc398d10ece56052db6d75e47919ee65d /sys/kern/kern_kse.c | |
parent | 6223a95348ea93dfdcb9a7f268196bbf9a5e834e (diff) | |
download | FreeBSD-src-8ef415ed061dc2a2a957c2f56a03b665be5d6a11.zip FreeBSD-src-8ef415ed061dc2a2a957c2f56a03b665be5d6a11.tar.gz |
Use correct thread pointer.
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r-- | sys/kern/kern_kse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index cb91577..02769b1 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -1842,7 +1842,7 @@ thread_single(int force_exit) FOREACH_THREAD_IN_PROC(p, td2) { if (td2 == td) continue; - td->td_flags |= TDF_ASTPENDING; + td2->td_flags |= TDF_ASTPENDING; if (TD_IS_INHIBITED(td2)) { if (force_exit == SINGLE_EXIT) { if (TD_IS_SUSPENDED(td2)) { |