Use correct value for sigset_t size in syscall.
authordrepper <drepper>
Mon, 8 Dec 1997 02:58:34 +0000 (02:58 +0000)
committerdrepper <drepper>
Mon, 8 Dec 1997 02:58:34 +0000 (02:58 +0000)
sysdeps/unix/sysv/linux/sigaction.c

index 161f1b0..1412c38 100644 (file)
@@ -49,8 +49,7 @@ __sigaction (sig, act, oact)
     {
       /* XXX The size argument hopefully will have to be changed to the
         real size of the user-level sigset_t.  */
-      int result = __syscall_rt_sigaction (sig, act, oact,
-                                          _NSIG / (8 * sizeof (long int)));
+      int result = __syscall_rt_sigaction (sig, act, oact, _NSIG / 8);
 
       if (result >= 0 || errno != ENOSYS)
        return result;