X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fexec.c;h=4f6f9dfb9871000a0e4e7084fb451204f9857c8a;hb=refs%2Fheads%2Frc%2Fmongodb;hp=0d33b290cce6afa2293a247ea7cf3342cc4833e6;hpb=50c6b81549e3239034f71f00ff7dde4c6a8767e5;p=collectd.git diff --git a/src/exec.c b/src/exec.c index 0d33b290..4f6f9dfb 100644 --- a/src/exec.c +++ b/src/exec.c @@ -729,8 +729,8 @@ static void *exec_notification_one (void *arg) /* {{{ */ 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)