From 65a6aaf1f3037ff1d00e0b4815813e5644033f59 Mon Sep 17 00:00:00 2001 From: David Xu Date: Tue, 11 Jan 2011 01:57:02 +0000 Subject: [PATCH] Fix a typo. Submitted by: avg --- lib/libthr/thread/thr_sig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c index 4acfe4017ef2..66358dbec5f5 100644 --- a/lib/libthr/thread/thr_sig.c +++ b/lib/libthr/thread/thr_sig.c @@ -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));