add and consolidate nasty stdio_ext junk
[oweals/musl.git] / src / unistd / dup.c
index b11cd715907505b25598a6b12dc552f302a8cffc..7fee01201b82709a3cd0b04b3a457a846243d1a8 100644 (file)
@@ -3,5 +3,5 @@
 
 int dup(int fd)
 {
-       return syscall1(__NR_dup, fd);
+       return syscall(SYS_dup, fd);
 }