Signed-off-by: Alexander Kovalenko <alexander...@gmail.com>
---
 src/exec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/exec.c b/src/exec.c
index 0d33b29..8387204 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -729,8 +729,8 @@ static void *exec_notification_one (void *arg) /* {{{ */
 
   fprintf (fh,
       "Severity: %s\n"
-      "Time: %u\n",
-      severity, (unsigned int) n->time);
+      "Time: %lu\n",
+      severity, CDTIME_T_TO_TIME_T(n->time));
 
   /* Print the optional fields */
   if (strlen (n->host) > 0)
-- 
1.7.4.4


_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd

Reply via email to