summaryrefslogtreecommitdiff
path: root/sysdeps/unix/common/lxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/common/lxstat.c')
-rw-r--r--sysdeps/unix/common/lxstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/common/lxstat.c b/sysdeps/unix/common/lxstat.c
index 499a0838ac..f33279979a 100644
--- a/sysdeps/unix/common/lxstat.c
+++ b/sysdeps/unix/common/lxstat.c
@@ -28,7 +28,7 @@ __lxstat (int vers, const char *file, struct stat *buf)
{
if (vers != _STAT_VER)
{
- errno = EINVAL;
+ __set_errno (EINVAL);
return -1;
}