d669fbf
2007-07-31  Jakub Jelinek  <jakub@redhat.com>
d669fbf
d669fbf
	* sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
d669fbf
	syscall arguments count.
d669fbf
d669fbf
--- libc/sysdeps/unix/sysv/linux/posix_fallocate.c.jj	2007-07-31 21:19:06.000000000 +0200
d669fbf
+++ libc/sysdeps/unix/sysv/linux/posix_fallocate.c	2007-07-31 21:19:06.000000000 +0200
d669fbf
@@ -39,7 +39,7 @@ posix_fallocate (int fd, __off_t offset,
d669fbf
 # endif
d669fbf
     {
d669fbf
       INTERNAL_SYSCALL_DECL (err);
d669fbf
-      int res = INTERNAL_SYSCALL (fallocate, err, 4, fd, 0,
d669fbf
+      int res = INTERNAL_SYSCALL (fallocate, err, 6, fd, 0,
d669fbf
 				  __LONG_LONG_PAIR (offset >> 31, offset),
d669fbf
 				  __LONG_LONG_PAIR (len >> 31, len));
d669fbf