summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/posix_fadvise64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/posix_fadvise64.c b/libc/sysdeps/linux/common/posix_fadvise64.c
index 9ac231678..517392a51 100644
--- a/libc/sysdeps/linux/common/posix_fadvise64.c
+++ b/libc/sysdeps/linux/common/posix_fadvise64.c
@@ -34,7 +34,7 @@ int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
int ret = INTERNAL_SYSCALL (posix_fadvise64, err, 6, fd,
__LONG_LONG_PAIR ((long) (offset >> 32),
(long) offset),
- (off_t) len, advise);
+ (off_t) len, advice);
if (!INTERNAL_SYSCALL_ERROR_P (ret, err))
return 0;
return INTERNAL_SYSCALL_ERRNO (ret, err);