summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d1483d2)
raw | patch | inline | side by side (parent: d1483d2)
author | Florian Forster <octo@collectd.org> | |
Thu, 26 Feb 2015 08:04:37 +0000 (09:04 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 26 Feb 2015 08:04:37 +0000 (09:04 +0100) |
src/exec.c | patch | blob | history |
diff --git a/src/exec.c b/src/exec.c
index b9a7365effe5ab8ef8edd0ec9aba7d3645bb1c47..cfd82a31b444adc1ce3ef1553a9d2ccddfd81b05 100644 (file)
--- a/src/exec.c
+++ b/src/exec.c
fprintf (fh,
"Severity: %s\n"
- "Time: %u\n",
- severity, (unsigned int)CDTIME_T_TO_TIME_T(n->time));
+ "Time: %.3f\n",
+ severity, CDTIME_T_TO_DOUBLE (n->time));
/* Print the optional fields */
if (strlen (n->host) > 0)