From: Rich Felker Date: Wed, 9 Sep 2015 06:04:42 +0000 (+0000) Subject: fix breakage in nl_langinfo from previous commit X-Git-Tag: v1.1.12~68 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58f6259dff804faa416df4f9b1ca2fc61d178585;p=oweals%2Fmusl.git fix breakage in nl_langinfo from previous commit --- 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: