Skip to content

Commit 30febb7

Browse files
committed
Remove redundant param from faccessat syscall
1 parent db56a8d commit 30febb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/unistd/linux/access.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ LLVM_LIBC_FUNCTION(int, access, (const char *path, int mode)) {
2323
int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_access, path, mode);
2424
#elif defined(SYS_faccessat)
2525
int ret =
26-
LIBC_NAMESPACE::syscall_impl<int>(SYS_faccessat, AT_FDCWD, path, mode, 0);
26+
LIBC_NAMESPACE::syscall_impl<int>(SYS_faccessat, AT_FDCWD, path, mode);
2727
#else
2828
#error "access and faccessat syscalls not available."
2929
#endif

0 commit comments

Comments
 (0)