diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-06-30 06:16:50 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-06-30 06:16:50 +0000 |
| commit | 5af40bb68ac5ebc8f50531fe6f99d040b7ebdd93 (patch) | |
| tree | 8e286fb7c1767e570cc48127627a5390c1162482 /lib/libpthread/thread/thr_kern.c | |
| parent | 529a7167bdee865050c7013947c3d39d925acb50 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
| -rw-r--r-- | lib/libpthread/thread/thr_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index b0cbac7f9387..f7575adb4317 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -1597,7 +1597,7 @@ kse_switchout_thread(struct kse *kse, struct pthread *thread) if (SIGISMEMBER(thread->sigmask, i)) continue; if (SIGISMEMBER(thread->sigpend, i)) - _thr_sig_add(thread, i, &thread->siginfo[i]); + _thr_sig_add(thread, i, &thread->siginfo[i-1]); else if (SIGISMEMBER(_thr_proc_sigpending, i) && _thr_getprocsig_unlocked(i, &siginfo)) { _thr_sig_add(thread, i, &siginfo); |
