aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-11-06 23:44:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-11-06 23:44:33 +0000
commitb055d3f1f7e2d2ab315ef018390534b1a013cf31 (patch)
treea60a6a7923bb38821e0be419622d307e2b37d757
parentb2b2415fe0ec0ea0db880c5b5e9f3fb768f4197e (diff)
downloadglibc-b055d3f1f7e2d2ab315ef018390534b1a013cf31.tar.xz
glibc-b055d3f1f7e2d2ab315ef018390534b1a013cf31.zip
Fix ARM fallocate for -D_FILE_OFFSET_BITS=64.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (fallocate): Fix types of last two arguments when -D_FILE_OFFSET_BITS=64.
-rw-r--r--ChangeLog.arm5
-rw-r--r--sysdeps/unix/sysv/linux/arm/bits/fcntl.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog.arm b/ChangeLog.arm
index d784564cf4..58bfada3cd 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -1,3 +1,8 @@
+2009-11-06 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (fallocate): Fix types
+ of last two arguments when -D_FILE_OFFSET_BITS=64.
+
2009-11-04 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/clone.S: Support V4T interworking.
diff --git a/sysdeps/unix/sysv/linux/arm/bits/fcntl.h b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
index e5e70aab4c..6388904852 100644
--- a/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
@@ -259,8 +259,8 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
# else
# ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
- __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+ __off64_t __len),
fallocate64);
# else
# define fallocate fallocate64