]> mj.ucw.cz Git - libucw.git/commitdiff
Use %Y instead of %y.
authorMartin Mares <mj@ucw.cz>
Sun, 4 Jun 2000 23:15:32 +0000 (23:15 +0000)
committerMartin Mares <mj@ucw.cz>
Sun, 4 Jun 2000 23:15:32 +0000 (23:15 +0000)
lib/log.c

index f17b8d9be616edb32066d49e489bb33ef478e22b..78d5089f496cd20424dff62aef650e884dbd91d6 100644 (file)
--- a/lib/log.c
+++ b/lib/log.c
@@ -25,7 +25,7 @@ logit(int level, byte *msg, va_list args)
 
   tim = time(NULL);
   tm = localtime(&tim);
-  strftime(buf, sizeof(buf), "%d-%m-%y %H:%M:%S", tm);
+  strftime(buf, sizeof(buf), "%d-%m-%Y %H:%M:%S", tm);
   fprintf(stderr, "%s %s [%d] <%d> ", buf, progname, pid, level);
   vfprintf(stderr, msg, args);
   fputc('\n', stderr);