about summary refs log tree commit diff
path: root/sysdeps/posix/pwritev2.c
diff options
context:
space:
mode:
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 5b7650c4fc..7ec8cbc407 100644
--- a/sysdeps/posix/pwritev2.c
+++ b/sysdeps/posix/pwritev2.c
@@ -28,7 +28,7 @@ pwritev2 (int fd, const struct iovec *vector, int count, OFF_T offset,
 {
   if (flags != 0)
     {
-      __set_errno (EOPNOTSUPP);
+      __set_errno (ENOTSUP);
       return -1;
     }