about summary refs log tree commit diff
path: root/sysdeps/stub/ustat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/ustat.c')
-rw-r--r--sysdeps/stub/ustat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/ustat.c b/sysdeps/stub/ustat.c
index baa98fd5e8..8e909f9f40 100644
--- a/sysdeps/stub/ustat.c
+++ b/sysdeps/stub/ustat.c
@@ -26,7 +26,7 @@ ustat (dev, ust)
      dev_t dev;
      struct ustat * ust;
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }
 stub_warning (ustat)