summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-09-09 06:04:42 +0000
committerRich Felker <dalias@aerifal.cx>2015-09-09 06:04:42 +0000
commit58f6259dff804faa416df4f9b1ca2fc61d178585 (patch)
tree3c9b18c07798cf283715af771ce56c86910c7ce6 /src/locale
parent844212d94f582c4e3c5055e0a1524931e89ebe76 (diff)
downloadmusl-58f6259dff804faa416df4f9b1ca2fc61d178585.tar.gz
musl-58f6259dff804faa416df4f9b1ca2fc61d178585.tar.bz2
musl-58f6259dff804faa416df4f9b1ca2fc61d178585.tar.xz
musl-58f6259dff804faa416df4f9b1ca2fc61d178585.zip
fix breakage in nl_langinfo from previous commit
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/langinfo.c2
1 files changed, 1 insertions, 1 deletions
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: