* 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.
This commit is contained in:
Jakub Jelinek 2007-07-31 19:33:23 +00:00
parent a26d01bb6c
commit 098813982b
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2007-07-31 Jakub Jelinek <jakub@redhat.com> 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. * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
2007-07-30 Roland McGrath <roland@redhat.com> 2007-07-30 Roland McGrath <roland@redhat.com>

View File

@ -39,7 +39,7 @@ posix_fallocate (int fd, __off_t offset, __off_t len)
# endif # endif
{ {
INTERNAL_SYSCALL_DECL (err); 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 (offset >> 31, offset),
__LONG_LONG_PAIR (len >> 31, len)); __LONG_LONG_PAIR (len >> 31, len));