summaryrefslogtreecommitdiff
path: root/src/unistd/fchown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/fchown.c')
-rw-r--r--src/unistd/fchown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/fchown.c b/src/unistd/fchown.c
index 03459849..75075eec 100644
--- a/src/unistd/fchown.c
+++ b/src/unistd/fchown.c
@@ -16,7 +16,7 @@ int fchown(int fd, uid_t uid, gid_t gid)
#ifdef SYS_chown
return syscall(SYS_chown, buf, uid, gid);
#else
- return syscall(SYS_fchownat, AT_FDCWD, buf, uid, gid);
+ return syscall(SYS_fchownat, AT_FDCWD, buf, uid, gid, 0);
#endif
}