X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fexec.c;h=9574f2c4bf4a252dd87ae76910f3dc4f8057ebd6;hb=a503c54a95d139f117650a0e6d80e6edfe81e8bf;hp=7e1616774e4d3277961ee995b49c5f534cdcae57;hpb=d53b2151ae583d6fc38b1a4dd49a3469635a84c8;p=collectd.git diff --git a/src/exec.c b/src/exec.c index 7e161677..9574f2c4 100644 --- a/src/exec.c +++ b/src/exec.c @@ -754,8 +754,9 @@ static void *exec_notification_one(void *arg) /* {{{ */ else if (n->severity == NOTIF_OKAY) severity = "OKAY"; - fprintf(fh, "Severity: %s\n" - "Time: %.3f\n", + fprintf(fh, + "Severity: %s\n" + "Time: %.3f\n", severity, CDTIME_T_TO_DOUBLE(n->time)); /* Print the optional fields */