X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fexec.c;h=cb6844b86ce928696f8111b316fd61cf1dfd4704;hb=103f05e098865196fc5f28df51e99b64fd6b5202;hp=d56c07fa9b2180d86624ff73d7b183fdbb909c66;hpb=633c3966f770e4d46651a2fe219a18d8a9907a9f;p=collectd.git diff --git a/src/exec.c b/src/exec.c index d56c07fa..cb6844b8 100644 --- a/src/exec.c +++ b/src/exec.c @@ -744,8 +744,8 @@ static void *exec_notification_one (void *arg) /* {{{ */ fprintf (fh, "Severity: %s\n" - "Time: %.3f\n", - severity, CDTIME_T_TO_DOUBLE (n->time)); + "Time: %u\n", + severity, (unsigned int)CDTIME_T_TO_TIME_T(n->time)); /* Print the optional fields */ if (strlen (n->host) > 0)