OSDN Git Service

libc/signal/sigaction.c: s/!=/==/
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 10 Jan 2009 18:49:32 +0000 (18:49 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 10 Jan 2009 18:49:32 +0000 (18:49 -0000)
libc/signal/sigaction.c

index 23a2d78..ae2e4b9 100644 (file)
@@ -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));
 }