aboutsummaryrefslogtreecommitdiff
path: root/locale/loadlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/loadlocale.c')
-rw-r--r--locale/loadlocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c
index a8cf7d5448..8066fbbaa3 100644
--- a/locale/loadlocale.c
+++ b/locale/loadlocale.c
@@ -83,7 +83,8 @@ _nl_load_locale (int category, char **name)
goto puntfd;
if (S_ISDIR (st.st_mode))
{
- /* LOCALE/LC_* is a directory; open LOCALE/LC_*/SYS_LC_* instead. */
+ /* LOCALE/LC_foo is a directory; open LOCALE/LC_foo/SYS_LC_foo
+ instead. */
__close (fd);
memcpy (stpcpy (strchr (file, '\0'), "SYS_"), catname, catlen);
fd = __open (file, O_RDONLY);