From 0558683d3db05bc7022be57bc8ece9699df24228 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 10 Mar 2011 10:26:16 -0500 Subject: [PATCH] fix sigsuspend syscall --- src/signal/sigsuspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c index 1acdab06..7ce526c4 100644 --- a/src/signal/sigsuspend.c +++ b/src/signal/sigsuspend.c @@ -3,5 +3,5 @@ int sigsuspend(const sigset_t *mask) { - return syscall2(__NR_rt_sigsuspend, (long)mask, sizeof(sigset_t)); + return syscall2(__NR_rt_sigsuspend, (long)mask, SYSCALL_SIGSET_SIZE); } -- 2.25.1