diff options
Diffstat (limited to 'lib/strftime.c')
-rw-r--r-- | lib/strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strftime.c b/lib/strftime.c index 1633c5a78..ac5e4ae44 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -341,7 +341,7 @@ strftime (s, maxsize, format, tp) /* Format the number according to the PAD flag. */ register char *nf = &number_fmt[1]; - int printed; + int printed = maxdigits; switch (pad) { |