Update from GNU libc master.
authorJim Meyering <jim@meyering.net>
Tue, 30 Jul 1996 05:33:30 +0000 (05:33 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 30 Jul 1996 05:33:30 +0000 (05:33 +0000)
lib/strftime.c

index 1633c5a..ac5e4ae 100644 (file)
@@ -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)
              {