mirror of git://git.musl-libc.org/musl
fix sigsuspend syscall
This commit is contained in:
parent
6871fd773d
commit
0558683d3d
|
@ -3,5 +3,5 @@
|
||||||
|
|
||||||
int sigsuspend(const sigset_t *mask)
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue