Signed-off-by: Alexander Kovalenko <[email protected]>
---
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
[email protected]
http://mailman.verplant.org/listinfo/collectd