diff options
Diffstat (limited to 'sysdeps/unix/readdir.c')
-rw-r--r-- | sysdeps/unix/readdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/readdir.c b/sysdeps/unix/readdir.c index 46f2caff87..491469bcd1 100644 --- a/sysdeps/unix/readdir.c +++ b/sysdeps/unix/readdir.c @@ -36,7 +36,7 @@ __readdir (DIR *dirp) if (dirp == NULL || dirp->data == NULL) { - errno = EINVAL; + __set_errno (EINVAL); return NULL; } |