diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/strftime.c b/time/strftime.c index 8893412581..38acc6478d 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -339,7 +339,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) { |