about summary refs log tree commit diff
path: root/sysdeps/posix/pwritev2.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 02:45:06 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 02:45:06 +0200
commitdd2b31dec0c0e792bec0486d72c8a049eea4bee1 (patch)
tree2898015655bf67d47c43336966b07a24a3848efa /sysdeps/posix/pwritev2.c
parent01969395db01fedcd3fb76d76654b24908e5757b (diff)
downloadglibc-dd2b31dec0c0e792bec0486d72c8a049eea4bee1.tar.gz
glibc-dd2b31dec0c0e792bec0486d72c8a049eea4bee1.tar.xz
glibc-dd2b31dec0c0e792bec0486d72c8a049eea4bee1.zip
hurd: Fix p{read,write}{,v64}v2.c build
	* sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
	* sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.
	* sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
	* sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.
Diffstat (limited to 'sysdeps/posix/pwritev2.c')
-rw-r--r--sysdeps/posix/pwritev2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c
index 7ec8cbc407..d746059d42 100644
--- a/sysdeps/posix/pwritev2.c
+++ b/sysdeps/posix/pwritev2.c
@@ -23,7 +23,7 @@
 
 /* Since we define no flags for pwritev2 just route to pwritev.  */
 ssize_t
-pwritev2 (int fd, const struct iovec *vector, int count, OFF_T offset,
+pwritev2 (int fd, const struct iovec *vector, int count, off_t offset,
 	  int flags)
 {
   if (flags != 0)