global cleanup to use the new syscall interface
[musl] / src / unistd / rmdir.c
index 8e18c7a..dfe1605 100644 (file)
@@ -3,5 +3,5 @@
 
 int rmdir(const char *path)
 {
-       return syscall1(__NR_rmdir, (long)path);
+       return syscall(SYS_rmdir, path);
 }