summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/posix_fadvise64.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-16 08:24:02 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-16 08:24:02 +0000
commit8c7292f133bef17fefa4e58f19a87084e72730b7 (patch)
tree4575fbef7f59c8199b4e0caa8c35045298133f88 /libc/sysdeps/linux/common/posix_fadvise64.c
parent9c6cdf5450db11f3689c6dc235647d4f0dd0a542 (diff)
fix typo pointed out by skinkie in #2194
Diffstat (limited to 'libc/sysdeps/linux/common/posix_fadvise64.c')
-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);