From: Jakub Jelinek Date: Tue, 31 Jul 2007 19:33:23 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix X-Git-Tag: cvs/fedora-glibc-20070801T1703~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=098813982b7315eb8ee3aa3c220f3bb7328556cf;p=thirdparty%2Fglibc.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 61dcbabc854..eee19697aac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-07-31 Jakub Jelinek + * 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 diff --git a/sysdeps/unix/sysv/linux/posix_fallocate.c b/sysdeps/unix/sysv/linux/posix_fallocate.c index 9cfade60ca6..6944793fa21 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));