summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/locale/nl_langinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/nl_langinfo.c b/lib/libc/locale/nl_langinfo.c
index f94736d..65eada3 100644
--- a/lib/libc/locale/nl_langinfo.c
+++ b/lib/libc/locale/nl_langinfo.c
@@ -121,10 +121,10 @@ nl_langinfo(nl_item item) {
ret = (char*) __get_current_messages_locale()->noexpr;
break;
case YESSTR: /* deprecated */
- ret = "";
+ ret = (char*) __get_current_messages_locale()->yesstr;
break;
case NOSTR: /* deprecated */
- ret = "";
+ ret = (char*) __get_current_messages_locale()->nostr;
break;
case CRNCYSTR: /* deprecated */
/* XXX: need to be implemented */
OpenPOWER on IntegriCloud