diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/sigpending.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/sigpending.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sigpending.c b/sysdeps/unix/sysv/linux/sigpending.c index 7b26bfbf12..4cecb8dc60 100644 --- a/sysdeps/unix/sysv/linux/sigpending.c +++ b/sysdeps/unix/sysv/linux/sigpending.c @@ -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; |