summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-03-02 22:12:19 +0000
committerache <ache@FreeBSD.org>2001-03-02 22:12:19 +0000
commit521d20a185c06cd2107b4cfca853e61c337510b2 (patch)
tree78d43430f5791f9f9926ef482342639e9ae2b67c /lib/libc
parent1ad9d0ac29a0c4abee8ea6c1f7e1ca00c01b69c0 (diff)
downloadFreeBSD-src-521d20a185c06cd2107b4cfca853e61c337510b2.zip
FreeBSD-src-521d20a185c06cd2107b4cfca853e61c337510b2.tar.gz
Actually implement T_FMT_AMPM
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/nl_langinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/nl_langinfo.c b/lib/libc/locale/nl_langinfo.c
index 4356dd6..8ada0f8 100644
--- a/lib/libc/locale/nl_langinfo.c
+++ b/lib/libc/locale/nl_langinfo.c
@@ -65,7 +65,7 @@ nl_langinfo(nl_item item) {
ret = (char *) __get_current_time_locale()->X_fmt;
break;
case T_FMT_AMPM:
- ret = "%r";
+ ret = (char *) __get_current_time_locale()->ampm_fmt;
break;
case AM_STR:
ret = (char *) __get_current_time_locale()->am;
OpenPOWER on IntegriCloud