about summary refs log tree commit diff
path: root/sysdeps/unix/fxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/fxstat.c')
-rw-r--r--sysdeps/unix/fxstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/fxstat.c b/sysdeps/unix/fxstat.c
index 522d3fd052..29cab5177c 100644
--- a/sysdeps/unix/fxstat.c
+++ b/sysdeps/unix/fxstat.c
@@ -29,7 +29,7 @@ __fxstat (int vers, int fd, struct stat *buf)
 {
   if (vers != _STAT_VER)
     {
-      errno = EINVAL;
+      __set_errno (EINVAL);
       return -1;
     }