about summary refs log tree commit diff
path: root/src/linux/signalfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/signalfd.c')
-rw-r--r--src/linux/signalfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/signalfd.c b/src/linux/signalfd.c
index ecda263e..99c35143 100644
--- a/src/linux/signalfd.c
+++ b/src/linux/signalfd.c
@@ -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);
 }