]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/fxstat.c
update from main archive
[thirdparty/glibc.git] / sysdeps / unix / fxstat.c
index 522d3fd052b44b48ff9bbb4980ed3ab77be85d33..29cab5177c8af8240f6c37bd2016877eeca2f3be 100644 (file)
@@ -29,7 +29,7 @@ __fxstat (int vers, int fd, struct stat *buf)
 {
   if (vers != _STAT_VER)
     {
-      errno = EINVAL;
+      __set_errno (EINVAL);
       return -1;
     }