mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-21 21:52:04 +03:00
remove flag argument from fchmodat syscall
linux's does not have the flag argument for fchmodat syscall.
This commit is contained in:
parent
dd690c4909
commit
fb9d976cc2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user