global cleanup to use the new syscall interface
[musl] / src / unistd / chdir.c
index c89bda3..5ba78b6 100644 (file)
@@ -3,5 +3,5 @@
 
 int chdir(const char *path)
 {
-       return syscall1(__NR_chdir, (long)path);
+       return syscall(SYS_chdir, path);
 }