about summary refs log tree commit diff
path: root/src/thread/__futex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/__futex.c')
-rw-r--r--src/thread/__futex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/thread/__futex.c b/src/thread/__futex.c
index 93352fa3..96307c08 100644
--- a/src/thread/__futex.c
+++ b/src/thread/__futex.c
@@ -3,6 +3,5 @@
 
 int __futex(volatile int *addr, int op, int val, void *ts)
 {
-	return syscall4(__NR_futex, (long)addr, op, val, (long)ts);
+	return syscall(SYS_futex, addr, op, val, ts);
 }
-