* Peter Holik <peter at holik.at>
**/
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE /* For setgroups */
#include "collectd.h"
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)