summary refs log tree commit diff
path: root/sysdeps/stub/statfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/statfs.c')
-rw-r--r--sysdeps/stub/statfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/stub/statfs.c b/sysdeps/stub/statfs.c
index 1aa2feeae6..72a93b2b9a 100644
--- a/sysdeps/stub/statfs.c
+++ b/sysdeps/stub/statfs.c
@@ -25,10 +25,9 @@ Cambridge, MA 02139, USA.  */
 int
 __statfs (const char *file, struct statfs *buf)
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }
 stub_warning (statfs)
 
 weak_alias (__statfs, statfs)
-