aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-31 19:33:23 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-31 19:33:23 +0000
commit098813982b7315eb8ee3aa3c220f3bb7328556cf (patch)
treed5f26c72a849a92686ba30420f1aec66ddfe0351 /sysdeps/unix
parenta26d01bb6c663c7268aab63a7de97263c4d37c08 (diff)
downloadglibc-098813982b7315eb8ee3aa3c220f3bb7328556cf.zip
glibc-098813982b7315eb8ee3aa3c220f3bb7328556cf.tar.gz
glibc-098813982b7315eb8ee3aa3c220f3bb7328556cf.tar.bz2
* sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
syscall arguments count. * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix syscall arguments count.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/posix_fallocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/posix_fallocate.c b/sysdeps/unix/sysv/linux/posix_fallocate.c
index 9cfade6..6944793 100644
--- a/sysdeps/unix/sysv/linux/posix_fallocate.c
+++ b/sysdeps/unix/sysv/linux/posix_fallocate.c
@@ -39,7 +39,7 @@ posix_fallocate (int fd, __off_t offset, __off_t len)
# endif
{
INTERNAL_SYSCALL_DECL (err);
- int res = INTERNAL_SYSCALL (fallocate, err, 4, fd, 0,
+ int res = INTERNAL_SYSCALL (fallocate, err, 6, fd, 0,
__LONG_LONG_PAIR (offset >> 31, offset),
__LONG_LONG_PAIR (len >> 31, len));