global cleanup to use the new syscall interface
[musl] / src / unistd / dup2.c
index 9332544..7945f85 100644 (file)
@@ -3,5 +3,5 @@
 
 int dup2(int old, int new)
 {
-       return __syscall_dup2(old, new);
+       return syscall(SYS_dup2, old, new);
 }