global cleanup to use the new syscall interface
[musl] / src / unistd / fchdir.c
index b2acbc2..e5595f7 100644 (file)
@@ -3,5 +3,5 @@
 
 int fchdir(int fd)
 {
-       return syscall1(__NR_fchdir, fd);
+       return syscall(SYS_fchdir, fd);
 }