diff options
author | ache <ache@FreeBSD.org> | 2001-02-08 20:55:38 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-02-08 20:55:38 +0000 |
commit | 90521c24f8205b72da8e75c2eac3a07865741d81 (patch) | |
tree | 27e32fe73028eab77197886994e62e7aee1f3212 /lib/libc/stdtime/strftime.c | |
parent | d7530cd6666aab2629a125b10daee4aae79fa149 (diff) | |
download | FreeBSD-src-90521c24f8205b72da8e75c2eac3a07865741d81.zip FreeBSD-src-90521c24f8205b72da8e75c2eac3a07865741d81.tar.gz |
Hardcode c_fmt in a different way since used in nl_langinfo now
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
-rw-r--r-- | lib/libc/stdtime/strftime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 27b0170..2712d95 100644 --- a/lib/libc/stdtime/strftime.c +++ b/lib/libc/stdtime/strftime.c @@ -123,8 +123,8 @@ label: "%02d", pt, ptlim); continue; case 'c': - /* NOTE: c_fmt is intentionally ignored */ - pt = _fmt("%a %Ef %T %Y", t, pt, ptlim); + /* NOTE: c_fmt is hardcoded in timelocal.c */ + pt = _fmt(tptr->c_fmt, t, pt, ptlim); continue; case 'D': pt = _fmt("%m/%d/%y", t, pt, ptlim); |