diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-02 22:12:19 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-02 22:12:19 +0000 |
commit | c0bbece16d76abe004080ddce7b57cd040eedcbd (patch) | |
tree | 259a4f717aa4178d0cb77e817d044bd9755ff68d /lib/libc/locale/nl_langinfo.c | |
parent | 50bab1e6fba3d997c386e88c13e6d8e3c1a53a81 (diff) | |
download | src-test2-c0bbece16d76abe004080ddce7b57cd040eedcbd.tar.gz src-test2-c0bbece16d76abe004080ddce7b57cd040eedcbd.zip |
Notes
Diffstat (limited to 'lib/libc/locale/nl_langinfo.c')
-rw-r--r-- | lib/libc/locale/nl_langinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/nl_langinfo.c b/lib/libc/locale/nl_langinfo.c index 4356dd60434b..8ada0f86d26d 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; |