about summary refs log tree commit diff
path: root/sysdeps/posix/posix_fallocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/posix_fallocate.c')
-rw-r--r--sysdeps/posix/posix_fallocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/posix_fallocate.c b/sysdeps/posix/posix_fallocate.c
index cd0f96113e..46ce06f10d 100644
--- a/sysdeps/posix/posix_fallocate.c
+++ b/sysdeps/posix/posix_fallocate.c
@@ -61,7 +61,7 @@ posix_fallocate (int fd, __off_t offset, size_t len)
     {
       len -= step;
 
-      if (pwrite (fd, "", 1, offset) != 1)
+      if (__pwrite (fd, "", 1, offset) != 1)
 	return errno;
 
       offset += step;