summaryrefslogtreecommitdiff
path: root/src/signal/siglongjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/siglongjmp.c')
-rw-r--r--src/signal/siglongjmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/siglongjmp.c b/src/signal/siglongjmp.c
index d0e4f67d..bbdde796 100644
--- a/src/signal/siglongjmp.c
+++ b/src/signal/siglongjmp.c
@@ -6,6 +6,6 @@
_Noreturn void siglongjmp(sigjmp_buf buf, int ret)
{
if (buf->__fl) __syscall(SYS_rt_sigprocmask, SIG_SETMASK,
- buf->__ss, 0, __SYSCALL_SSLEN);
+ buf->__ss, 0, _NSIG/8);
longjmp(buf->__jb, ret);
}