summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-01-10 18:49:32 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-01-10 18:49:32 +0000
commit1c778b7cfac9228aa6dbd3c7d3b1417887fc3031 (patch)
tree9579ec72e7fc96ea37ce9986f067eee1ec387481 /libc
parentccd55d094002867e39df6b9508d0a9ced1d85bc6 (diff)
libc/signal/sigaction.c: s/!=/==/
Diffstat (limited to 'libc')
-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));
}