From 58f6259dff804faa416df4f9b1ca2fc61d178585 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 9 Sep 2015 06:04:42 +0000 Subject: [PATCH] fix breakage in nl_langinfo from previous commit --- src/locale/langinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/langinfo.c b/src/locale/langinfo.c index 69693fff..a1ada246 100644 --- a/src/locale/langinfo.c +++ b/src/locale/langinfo.c @@ -33,7 +33,7 @@ char *__nl_langinfo_l(nl_item item, locale_t loc) int idx = item & 65535; const char *str; - if (item == CODESET) "UTF-8"; + if (item == CODESET) return "UTF-8"; switch (cat) { case LC_NUMERIC: -- GitLab