summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGaƫl PORTAY <gael.portay@rtone.fr>2024-02-18 03:26:48 +0100
committerRich Felker <dalias@aerifal.cx>2024-02-22 19:24:06 -0500
commitfb9d976cc2ae510d2c3c763ed7db9bdb5269e38d (patch)
tree92b2b81735576e43e59484d6a9cdef521b2c2564 /src
parentdd690c490951443ce5b96594c9c44cb6177daac1 (diff)
downloadmusl-fb9d976cc2ae510d2c3c763ed7db9bdb5269e38d.tar.gz
remove flag argument from fchmodat syscall
linux's does not have the flag argument for fchmodat syscall.
Diffstat (limited to 'src')
-rw-r--r--src/stat/fchmodat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/fchmodat.c b/src/stat/fchmodat.c
index bc581050..41db0c46 100644
--- a/src/stat/fchmodat.c
+++ b/src/stat/fchmodat.c
@@ -5,7 +5,7 @@
int fchmodat(int fd, const char *path, mode_t mode, int flag)
{
- if (!flag) return syscall(SYS_fchmodat, fd, path, mode, flag);
+ if (!flag) return syscall(SYS_fchmodat, fd, path, mode);
if (flag != AT_SYMLINK_NOFOLLOW)
return __syscall_ret(-EINVAL);