summaryrefslogtreecommitdiff
path: root/src/unistd/chdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/chdir.c')
-rw-r--r--src/unistd/chdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/chdir.c b/src/unistd/chdir.c
index c89bda38..5ba78b63 100644
--- a/src/unistd/chdir.c
+++ b/src/unistd/chdir.c
@@ -3,5 +3,5 @@
int chdir(const char *path)
{
- return syscall1(__NR_chdir, (long)path);
+ return syscall(SYS_chdir, path);
}