aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 03:00:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 03:00:55 +0200
commited95bf5638748068ef05ccbaa0a008b50ebecb42 (patch)
tree9fd177ba1fc3d648bbb5ce8aad7212bd8d2fad7f
parentdd2b31dec0c0e792bec0486d72c8a049eea4bee1 (diff)
downloadglibc-ed95bf5638748068ef05ccbaa0a008b50ebecb42.tar
glibc-ed95bf5638748068ef05ccbaa0a008b50ebecb42.tar.gz
glibc-ed95bf5638748068ef05ccbaa0a008b50ebecb42.tar.bz2
glibc-ed95bf5638748068ef05ccbaa0a008b50ebecb42.zip
hurd: Fix p{read,write}v64v2.c build
* sysdeps/posix/preadv64v2.c: Use off64_t instead of off_t. * sysdeps/posix/pwritev64v2.c: Use off64_t instead of off_t.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/posix/preadv64v2.c2
-rw-r--r--sysdeps/posix/pwritev64v2.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a4634b7fdb..f8c12c0a46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,9 +6,9 @@
* sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
just <bits/types.h>.
* sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
- * sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.
+ * sysdeps/posix/preadv64v2.c: Use off64_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.
+ * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2017-09-01 Joseph Myers <joseph@codesourcery.com>
diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
index ab71f027d4..263f9b77c4 100644
--- a/sysdeps/posix/preadv64v2.c
+++ b/sysdeps/posix/preadv64v2.c
@@ -20,7 +20,7 @@
#include <sys/uio.h>
ssize_t
-preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,
+preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
int flags)
{
if (flags != 0)
diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
index bf62d74190..f340c8a46d 100644
--- a/sysdeps/posix/pwritev64v2.c
+++ b/sysdeps/posix/pwritev64v2.c
@@ -21,7 +21,7 @@
/* Since we define no flags for pwritev2 just route to pwritev. */
ssize_t
-pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,
+pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
int flags)
{
if (flags != 0)