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