author | Florian Forster <octo@collectd.org> | |
Sat, 27 Aug 2011 19:48:12 +0000 (21:48 +0200) | ||
committer | Gerrit Code Review <gerrit2@huhu.verplant.org> | |
Sat, 27 Aug 2011 19:48:12 +0000 (21:48 +0200) |
src/exec.c | patch | blob | history |
diff --git a/src/exec.c b/src/exec.c
index 0d33b290cce6afa2293a247ea7cf3342cc4833e6..4f6f9dfb9871000a0e4e7084fb451204f9857c8a 100644 (file)
--- a/src/exec.c
+++ b/src/exec.c
fprintf (fh,
"Severity: %s\n"
- "Time: %u\n",
- severity, (unsigned int) n->time);
+ "Time: %.3f\n",
+ severity, CDTIME_T_TO_DOUBLE (n->time));
/* Print the optional fields */
if (strlen (n->host) > 0)