diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-26 22:51:23 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:43 +0200 |
commit | 028183a24d7dc921dbfc26a548675dcbae002f20 (patch) | |
tree | c751a322451556b4ec934e2414be95b65e819f1a /libc/sysdeps/linux/common/sigpending.c | |
parent | 5fc54227982c5e5edd060396f9fe2639795622d0 (diff) |
change _NSIG / 8 to __SYSCALL_SIGSET_T_SIZE in common code
Since mips has different kernel sigset_t, use the new macro in common
code that is used by mips as well.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/sigpending.c')
-rw-r--r-- | libc/sysdeps/linux/common/sigpending.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/sigpending.c b/libc/sysdeps/linux/common/sigpending.c index 8fa2a5125..78a0d84ee 100644 --- a/libc/sysdeps/linux/common/sigpending.c +++ b/libc/sysdeps/linux/common/sigpending.c @@ -19,7 +19,7 @@ static __inline__ _syscall2(int, __rt_sigpending, sigset_t *, set, size_t, size) int sigpending(sigset_t * set) { - return __rt_sigpending(set, _NSIG / 8); + return __rt_sigpending(set, __SYSCALL_SIGSET_T_SIZE); } #else _syscall1(int, sigpending, sigset_t *, set) |