about summary refs log tree commit diff
path: root/src/unistd/fchdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/fchdir.c')
-rw-r--r--src/unistd/fchdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/fchdir.c b/src/unistd/fchdir.c
index b2acbc29..e5595f77 100644
--- a/src/unistd/fchdir.c
+++ b/src/unistd/fchdir.c
@@ -3,5 +3,5 @@
 
 int fchdir(int fd)
 {
-	return syscall1(__NR_fchdir, fd);
+	return syscall(SYS_fchdir, fd);
 }