cleanup types stuff in headers, fix missing u_int*_t in sys/types.h
[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);
 }