From 3e5f77d5aa1822ec5f6d0c353c36a4c256d4aa7e Mon Sep 17 00:00:00 2001 From: davidxu Date: Tue, 11 Jan 2011 01:57:02 +0000 Subject: Fix a typo. Submitted by: avg --- lib/libthr/thread/thr_sig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr/thread') diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c index 4acfe40..66358db 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)); -- cgit v1.1