global cleanup to use the new syscall interface
[musl] / src / thread / __futex.c
index 93352fa..96307c0 100644 (file)
@@ -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);
 }
-