about summary refs log tree commit diff
path: root/sysdeps/posix/preadv64v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/preadv64v2.c')
-rw-r--r--sysdeps/posix/preadv64v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
index e084f3f9e1..ce7cb40bf2 100644
--- a/sysdeps/posix/preadv64v2.c
+++ b/sysdeps/posix/preadv64v2.c
@@ -25,7 +25,7 @@ preadv64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,
 {
   if (flags != 0)
     {
-      __set_errno (EOPNOTSUPP);
+      __set_errno (ENOTSUP);
       return -1;
     }