1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217253

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));