From fb9d976cc2ae510d2c3c763ed7db9bdb5269e38d Mon Sep 17 00:00:00 2001 From: Gaƫl PORTAY Date: Sun, 18 Feb 2024 03:26:48 +0100 Subject: remove flag argument from fchmodat syscall linux's does not have the flag argument for fchmodat syscall. --- src/stat/fchmodat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stat') 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); -- cgit 1.4.1