summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/string/strftime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/strftime.c b/src/lib/libc/string/strftime.c
index fffa9ecbb0..b696a60e55 100644
--- a/src/lib/libc/string/strftime.c
+++ b/src/lib/libc/string/strftime.c
@@ -33,7 +33,7 @@
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35/*static char *sccsid = "from: @(#)strftime.c 5.11 (Berkeley) 2/24/91";*/ 35/*static char *sccsid = "from: @(#)strftime.c 5.11 (Berkeley) 2/24/91";*/
36static char *rcsid = "$Id: strftime.c,v 1.1.1.1 1995/10/18 08:42:22 deraadt Exp $"; 36static char *rcsid = "$Id: strftime.c,v 1.2 1995/12/30 08:16:41 deraadt Exp $";
37#endif /* LIBC_SCCS and not lint */ 37#endif /* LIBC_SCCS and not lint */
38 38
39#include <sys/localedef.h> 39#include <sys/localedef.h>
@@ -202,7 +202,7 @@ _fmt(format, t)
202 return(0); 202 return(0);
203 continue; 203 continue;
204 case 'u': 204 case 'u':
205 if (!_conv(t->tm_wday ? t->tm_wday : 7, 2, '0')) 205 if (!_conv(t->tm_wday ? t->tm_wday : 7, 1, '0'))
206 return(0); 206 return(0);
207 continue; 207 continue;
208 case 'V': 208 case 'V':