diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-02 22:10:04 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-02 22:10:04 +0000 |
| commit | 50bab1e6fba3d997c386e88c13e6d8e3c1a53a81 (patch) | |
| tree | 2511a6bb601be0a26f4fdf1be692442545144e7a /lib/libc/stdtime/strptime.c | |
| parent | b3e95d4ed09e497b778584ac12ceea158c504e72 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime/strptime.c')
| -rw-r--r-- | lib/libc/stdtime/strptime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c index ee32651927f6..57c5da1e90ca 100644 --- a/lib/libc/stdtime/strptime.c +++ b/lib/libc/stdtime/strptime.c @@ -181,7 +181,7 @@ label: break; case 'r': - buf = _strptime(buf, "%I:%M:%S %p", tm); + buf = _strptime(buf, tptr->ampm_fmt, tm); if (buf == 0) return 0; break; |
