aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/fstatfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/fstatfs.c')
-rw-r--r--sysdeps/stub/fstatfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/stub/fstatfs.c b/sysdeps/stub/fstatfs.c
index 5ef5ccd1b9..9bc09000bf 100644
--- a/sysdeps/stub/fstatfs.c
+++ b/sysdeps/stub/fstatfs.c
@@ -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)
-