update syscalls with off_t arguments to handle argument alignment, if needed
[musl] / src / unistd / dup.c
index b11cd71..7fee012 100644 (file)
@@ -3,5 +3,5 @@
 
 int dup(int fd)
 {
-       return syscall1(__NR_dup, fd);
+       return syscall(SYS_dup, fd);
 }