fix iconv conversion to legacy 8bit codepages
[oweals/musl.git] / src / unistd / rmdir.c
index 8e18c7a825dc98b1b681c240ce6b22da5da07bee..dfe1605d05173460c395e97eb7968da6a4698997 100644 (file)
@@ -3,5 +3,5 @@
 
 int rmdir(const char *path)
 {
-       return syscall1(__NR_rmdir, (long)path);
+       return syscall(SYS_rmdir, path);
 }