]> granicus.if.org Git - fcron/commitdiff
added seconds to debug message for better precision and consistency with other debug...
authorthib <thib>
Sun, 14 Oct 2007 14:56:54 +0000 (14:56 +0000)
committerthib <thib>
Sun, 14 Oct 2007 14:56:54 +0000 (14:56 +0000)
conf.c

diff --git a/conf.c b/conf.c
index 9f7bc1dbe92cb75af53d335a1a37f85b14bba147..9873f5c794a920dfa1d3deab4f578d2b99a7f405 100644 (file)
--- a/conf.c
+++ b/conf.c
@@ -22,7 +22,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: conf.c,v 1.73 2007-06-03 17:52:34 thib Exp $ */
+ /* $Id: conf.c,v 1.74 2007-10-14 14:56:54 thib Exp $ */
 
 #include "fcron.h"
 
@@ -296,11 +296,11 @@ synchronize_file(char *file_name)
                            struct tm *ftime;
                            ftime = localtime(&new_l->cl_nextexe);
                            debug("  from last conf: %s next exec %d/%d/%d"
-                                 " wday:%d %02d:%02d (system time)",
+                                 " wday:%d %02d:%02d:%02d (system time)",
                                  new_l->cl_shell,
                                  (ftime->tm_mon + 1), ftime->tm_mday,
                                  (ftime->tm_year + 1900), ftime->tm_wday,
-                                 ftime->tm_hour, ftime->tm_min);
+                                 ftime->tm_hour, ftime->tm_min, ftime->tm_sec);
                        } 
                        
                        break;