diff options
Diffstat (limited to 'sysdeps/generic/readdir_r.c')
-rw-r--r-- | sysdeps/generic/readdir_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/readdir_r.c b/sysdeps/generic/readdir_r.c index ae14d18160..41bf87fca2 100644 --- a/sysdeps/generic/readdir_r.c +++ b/sysdeps/generic/readdir_r.c @@ -27,7 +27,7 @@ __readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result) { __set_errno (ENOSYS); *result = NULL; - return -1; + return ENOSYS; } weak_alias (__readdir_r, readdir_r) |