summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/sigaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c
index 23a2d78db..ae2e4b916 100644
--- a/libc/signal/sigaction.c
+++ b/libc/signal/sigaction.c
@@ -41,7 +41,7 @@ __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
* Try to catch this problem at uclibc build time: */
struct BUG_sigset_size {
int BUG_sigset_size
- [sizeof(act->sa_mask) != _NSIG / 8 ? 1 : -1];
+ [sizeof(act->sa_mask) == _NSIG / 8 ? 1 : -1];
};
return __syscall_rt_sigaction(sig, act, oact, sizeof(act->sa_mask));
}