about summary refs log tree commit diff
path: root/sysdeps/posix/posix_fallocate64.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-06-14 15:55:44 +0000
committerUlrich Drepper <drepper@redhat.com>2005-06-14 15:55:44 +0000
commit0e66ade5ada897fe4b8be8d9c05c5519e7be4199 (patch)
tree62d2f98b4e39bd7d899ff6a40babfca74edbbe18 /sysdeps/posix/posix_fallocate64.c
parentc63d8f809b816fa51d2448a46fbf0ca6ec253b43 (diff)
downloadglibc-0e66ade5ada897fe4b8be8d9c05c5519e7be4199.tar.gz
glibc-0e66ade5ada897fe4b8be8d9c05c5519e7be4199.tar.xz
glibc-0e66ade5ada897fe4b8be8d9c05c5519e7be4199.zip
* debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
	* sysdeps/posix/posix_fallocate64.c: Likewise.
	* include/string.h: Use libc_hidden_proto for strnlen.
	* sysdeps/generic/strnlen.c: Add libc_hidden_def.
	* include/libintl.h: Use libc_hidden_proto for __dcgettext.
	* intl/dcgettext.c: Add libc_hidden_def.
	* include/execinfo.h: Add libc_hidden_proto for __backtrace and
	__backtrace_symbols_fd.
	* sysdeps/generic/backtrace.c: Add libc_hidden_def.
	* sysdeps/generic/backtracesymsfd.c: Likewise.
	* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
	* sysdeps/i386/backtrace.c: Likewise.
	* sysdeps/ia64/backtrace.c: Likewise.
	* sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
	* sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
	* sysdeps/s390/s390-32/backtrace.c: Likewise.
	* sysdeps/s390/s390-64/backtrace.c: Likewise.
Diffstat (limited to 'sysdeps/posix/posix_fallocate64.c')
-rw-r--r--sysdeps/posix/posix_fallocate64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/posix_fallocate64.c b/sysdeps/posix/posix_fallocate64.c
index 91e71b74ac..64ca9ae83d 100644
--- a/sysdeps/posix/posix_fallocate64.c
+++ b/sysdeps/posix/posix_fallocate64.c
@@ -76,7 +76,7 @@ __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len)
       if (offset < st.st_size)
 	{
 	  unsigned char c;
-	  ssize_t rsize = __pread64 (fd, &c, 1, offset);
+	  ssize_t rsize = __libc_pread64 (fd, &c, 1, offset);
 
 	  if (rsize < 0)
 	    return errno;
@@ -86,7 +86,7 @@ __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len)
 	    continue;
 	}
 
-      if (__pwrite64 (fd, "", 1, offset) != 1)
+      if (__libc_pwrite64 (fd, "", 1, offset) != 1)
 	return errno;
     }