about summary refs log tree commit diff
path: root/src/unistd/rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/rmdir.c')
-rw-r--r--src/unistd/rmdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/rmdir.c b/src/unistd/rmdir.c
index 8e18c7a8..dfe1605d 100644
--- a/src/unistd/rmdir.c
+++ b/src/unistd/rmdir.c
@@ -3,5 +3,5 @@
 
 int rmdir(const char *path)
 {
-	return syscall1(__NR_rmdir, (long)path);
+	return syscall(SYS_rmdir, path);
 }