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

index 7b26bfb..4cecb8d 100644 (file)
@@ -40,8 +40,7 @@ sigpending (set)
     {
       /* XXX The size argument hopefully will have to be changed to the
         real size of the user-level sigset_t.  */
-      int result = __syscall_rt_sigpending (set,
-                                           _NSIG / (8 * sizeof (long int)));
+      int result = __syscall_rt_sigpending (set, _NSIG / 8);
 
       if (result >= 0 || errno != ENOSYS)
        return result;