diff options
Diffstat (limited to 'sysdeps/stub/opendir.c')
-rw-r--r-- | sysdeps/stub/opendir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/opendir.c b/sysdeps/stub/opendir.c index f0d7784d1e..f32a6b04c2 100644 --- a/sysdeps/stub/opendir.c +++ b/sysdeps/stub/opendir.c @@ -25,7 +25,7 @@ Cambridge, MA 02139, USA. */ DIR * __opendir (const char *name) { - errno = ENOSYS; + __set_errno (ENOSYS); return NULL; } weak_alias (__opendir, opendir) |