diff options
Diffstat (limited to 'sysdeps/stub/xstat.c')
-rw-r--r-- | sysdeps/stub/xstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/xstat.c b/sysdeps/stub/xstat.c index ad67aa9..a487062 100644 --- a/sysdeps/stub/xstat.c +++ b/sysdeps/stub/xstat.c @@ -26,11 +26,11 @@ __xstat (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 (stat) |