replace __wake function with macro that performs direct syscall
[musl] / src / linux / signalfd.c
index 99c3514..1a6c03c 100644 (file)
@@ -3,5 +3,5 @@
 
 int signalfd(int fd, const sigset_t *sigs, int flags)
 {
-       return syscall(SYS_signalfd, fd, sigs, 8);
+       return syscall(SYS_signalfd, fd, sigs, __SYSCALL_SSLEN);
 }