fix breakage in nl_langinfo from previous commit

This commit is contained in:
Rich Felker
2015-09-09 06:04:42 +00:00
parent 844212d94f
commit 58f6259dff
+1 -1
View File
@@ -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: