diff options
Diffstat (limited to 'sysdeps/stub/readdir.c')
-rw-r--r-- | sysdeps/stub/readdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/readdir.c b/sysdeps/stub/readdir.c index d210906..1555706 100644 --- a/sysdeps/stub/readdir.c +++ b/sysdeps/stub/readdir.c @@ -24,7 +24,7 @@ Cambridge, MA 02139, USA. */ struct dirent * __readdir (DIR *dirp) { - errno = ENOSYS; + __set_errno (ENOSYS); return NULL; } weak_alias (__readdir, readdir) |