aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/lxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/lxstat.c')
-rw-r--r--sysdeps/stub/lxstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/lxstat.c b/sysdeps/stub/lxstat.c
index 5729925ff3..edbe2fc6d4 100644
--- a/sysdeps/stub/lxstat.c
+++ b/sysdeps/stub/lxstat.c
@@ -27,11 +27,11 @@ __lxstat (int vers, const char *file, struct stat *buf)
{
if (vers != _STAT_VER || file == NULL || buf == NULL)
{
- errno = EINVAL;
+ __set_errno (EINVAL);
return -1;
}
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}
stub_warning (__lxstat)