summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime/strftime.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2008-10-30 00:19:19 +0000
committerXin LI <delphij@FreeBSD.org>2008-10-30 00:19:19 +0000
commit65443d59535af365c8cabda400c5912af124a823 (patch)
tree6b2b17e1c4306aa3263c7e2fddc74e61915333fc /lib/libc/stdtime/strftime.c
parent04fc88d50aa58bd779f734408782520b97cb1c70 (diff)
Notes
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
-rw-r--r--lib/libc/stdtime/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index 3f66ea25eb9a..b0ba1ff028db 100644
--- a/lib/libc/stdtime/strftime.c
+++ b/lib/libc/stdtime/strftime.c
@@ -177,7 +177,7 @@ label:
{
int warn2 = IN_SOME;
- pt = _fmt(tptr->c_fmt, t, pt, ptlim, warnp);
+ pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2);
if (warn2 == IN_ALL)
warn2 = IN_THIS;
if (warn2 > *warnp)