summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-16 08:33:48 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-16 08:33:48 +0000
commit5bb327a1dbe37208a812a9134763aa5adfa90e12 (patch)
treec60c39af4b97e297d0a8b188b0b2387f60977291 /libc
parent8c7292f133bef17fefa4e58f19a87084e72730b7 (diff)
posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by skinkie in #2194
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 517392a51..994139c9c 100644
--- a/libc/sysdeps/linux/common/posix_fadvise64.c
+++ b/libc/sysdeps/linux/common/posix_fadvise64.c
@@ -31,7 +31,7 @@ int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
if (len != (off_t) len)
return EOVERFLOW;
INTERNAL_SYSCALL_DECL (err);
- int ret = INTERNAL_SYSCALL (posix_fadvise64, err, 6, fd,
+ int ret = INTERNAL_SYSCALL (posix_fadvise64, err, 5, fd,
__LONG_LONG_PAIR ((long) (offset >> 32),
(long) offset),
(off_t) len, advice);