aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/strftime.c b/time/strftime.c
index 8893412..38acc64 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)
{