diff options
Diffstat (limited to 'catgets')
-rw-r--r-- | catgets/open_catalog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/catgets/open_catalog.c b/catgets/open_catalog.c index 4b619e49e9..aefa34f3fa 100644 --- a/catgets/open_catalog.c +++ b/catgets/open_catalog.c @@ -183,7 +183,10 @@ __open_catalog (__nl_catd catalog) /* Avoid dealing with directories and block devices */ if (fd < 0) - goto unlock_return; + { + catalog->status = nonexisting; + goto unlock_return; + } if (__fxstat (_STAT_VER, fd, &st) < 0) { |