Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2011 01:57:02 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217253 - head/lib/libthr/thread
Message-ID:  <201101110157.p0B1v2Fc002522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: davidxu
Date: Tue Jan 11 01:57:02 2011
New Revision: 217253
URL: http://svn.freebsd.org/changeset/base/217253

Log:
  Fix a typo.
  
  Submitted by:	avg

Modified:
  head/lib/libthr/thread/thr_sig.c

Modified: head/lib/libthr/thread/thr_sig.c
==============================================================================
--- head/lib/libthr/thread/thr_sig.c	Tue Jan 11 01:32:08 2011	(r217252)
+++ head/lib/libthr/thread/thr_sig.c	Tue Jan 11 01:57:02 2011	(r217253)
@@ -321,7 +321,7 @@ check_deferred_signal(struct pthread *cu
 	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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101110157.p0B1v2Fc002522>