* sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
authorJakub Jelinek <jakub@redhat.com>
Tue, 31 Jul 2007 19:33:23 +0000 (19:33 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 31 Jul 2007 19:33:23 +0000 (19:33 +0000)
syscall arguments count.
* sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
syscall arguments count.

ChangeLog
sysdeps/unix/sysv/linux/posix_fallocate.c

index 61dcbab..eee1969 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-07-31  Jakub Jelinek  <jakub@redhat.com>
 
+       * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
+       syscall arguments count.
+
        * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
 
 2007-07-30  Roland McGrath  <roland@redhat.com>
index 9cfade6..6944793 100644 (file)
@@ -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));