From: Rich Felker Date: Thu, 10 Mar 2011 15:26:16 +0000 (-0500) Subject: fix sigsuspend syscall X-Git-Tag: v0.7.0~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0558683d3db05bc7022be57bc8ece9699df24228;p=oweals%2Fmusl.git fix sigsuspend syscall --- 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); }