fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git] / src / linux / signalfd.c
index ecda263e32a749566f3a7066da282a6b8b8b16d4..99c35143b52caace1281f7dbbc40f87f5d921b53 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, 8);
 }