From c0bbece16d76abe004080ddce7b57cd040eedcbd Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 2 Mar 2001 22:12:19 +0000 Subject: Actually implement T_FMT_AMPM --- lib/libc/locale/nl_langinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') 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; -- cgit v1.3