summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-27 20:42:22 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-27 20:42:22 +0000
commitcedf9b89dd3b436ff7fad4c75d3f288ee4cd4ecd (patch)
tree5a17c2390bdc6aa71d7f73d13e584adaed4837de /sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
parent8d599f5ab190dfb8a394104c4dc0d39c90f19093 (diff)
* sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Addcvs/fedora-glibc-2_6_90-13
call_fallocate in misc subdir. * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove. * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate instead of __fallocate64. * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Use __call_fallocate instead of __fallocate64.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/posix_fallocate64.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/posix_fallocate64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/posix_fallocate64.c b/sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
index d5b4d597c1..f1ed7e315c 100644
--- a/sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
+++ b/sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
@@ -30,7 +30,7 @@ extern int __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len);
extern int __have_fallocate attribute_hidden;
#endif
-extern int __fallocate64 (int fd, int mode, __off64_t offset, __off64_t len)
+extern int __call_fallocate (int fd, int mode, __off64_t offset, __off64_t len)
attribute_hidden;
/* Reserve storage for the data of the file associated with FD. */
@@ -42,7 +42,7 @@ __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len)
if (__builtin_expect (__have_fallocate >= 0, 1))
# endif
{
- int res = __fallocate64 (fd, 0, offset, len);
+ int res = __call_fallocate (fd, 0, offset, len);
if (! res)
return 0;