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