X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fexec.c;h=3f68e8bbcf1ab26d6f195d80c5ec0213c562a732;hb=e9ecee2a61356a293f086dd3d36d2381486b563e;hp=a2b0915c7c1e94c48a24d8730d55e7e798b2215b;hpb=102e4f4ff7e99650b5624a7af1ba3885975a0b8c;p=collectd.git diff --git a/src/exec.c b/src/exec.c index a2b0915c..3f68e8bb 100644 --- a/src/exec.c +++ b/src/exec.c @@ -745,8 +745,8 @@ static void *exec_notification_one (void *arg) /* {{{ */ 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)