]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/stub/fstatfs.c
update from main archive
[thirdparty/glibc.git] / sysdeps / stub / fstatfs.c
index 5ef5ccd1b9ec66382128aceeb52cd33a59c2d4c4..9bc09000bf48c8fedac55656d59becbf8865ea69 100644 (file)
@@ -25,10 +25,9 @@ Cambridge, MA 02139, USA.  */
 int
 __fstatfs (int fd, struct statfs *buf)
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }
 stub_warning (statfs)
 
 weak_alias (__fstatfs, fstatfs)
-