diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-10 10:26:16 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-10 10:26:16 -0500 |
commit | 0558683d3db05bc7022be57bc8ece9699df24228 (patch) | |
tree | f19c413b23a231b298450f26ef4648cea5809982 /src/signal/sigsuspend.c | |
parent | 6871fd773dcedbf056317d5d5e87b4859e97c4a4 (diff) | |
download | musl-0558683d3db05bc7022be57bc8ece9699df24228.tar.gz musl-0558683d3db05bc7022be57bc8ece9699df24228.tar.bz2 musl-0558683d3db05bc7022be57bc8ece9699df24228.tar.xz musl-0558683d3db05bc7022be57bc8ece9699df24228.zip |
fix sigsuspend syscall
Diffstat (limited to 'src/signal/sigsuspend.c')
-rw-r--r-- | src/signal/sigsuspend.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |