Fix a typo.

Submitted by:	avg
This commit is contained in:
David Xu 2011-01-11 01:57:02 +00:00
parent f1f5cc47d8
commit 65a6aaf1f3

View File

@ -321,7 +321,7 @@ check_deferred_signal(struct pthread *curthread)
if (__predict_true(curthread->deferred_siginfo.si_signo == 0))
return;
getcontext(&uc);
if (curthread->deferred_siginfo.si_signo == 0) {
if (curthread->deferred_siginfo.si_signo != 0) {
act = curthread->deferred_sigact;
uc.uc_sigmask = curthread->deferred_sigmask;
memcpy(&info, &curthread->deferred_siginfo, sizeof(siginfo_t));