about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-10 10:26:16 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-10 10:26:16 -0500
commit0558683d3db05bc7022be57bc8ece9699df24228 (patch)
treef19c413b23a231b298450f26ef4648cea5809982 /src
parent6871fd773dcedbf056317d5d5e87b4859e97c4a4 (diff)
downloadmusl-0558683d3db05bc7022be57bc8ece9699df24228.tar.gz
musl-0558683d3db05bc7022be57bc8ece9699df24228.tar.xz
musl-0558683d3db05bc7022be57bc8ece9699df24228.zip
fix sigsuspend syscall
Diffstat (limited to 'src')
-rw-r--r--src/signal/sigsuspend.c2
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);
 }