From: Florian Forster Date: Tue, 28 Nov 2017 07:24:14 +0000 (+0100) Subject: contrib/format.sh src/aggregation.c X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f55518b5d194359de66d52acd6412050cc57fa3a;p=collectd.git contrib/format.sh src/aggregation.c --- diff --git a/src/aggregation.c b/src/aggregation.c index 8d5cd082..272a04fb 100644 --- a/src/aggregation.c +++ b/src/aggregation.c @@ -405,9 +405,10 @@ static int agg_instance_read(agg_instance_t *inst, cdtime_t t) /* {{{ */ READ_FUNC(average, (inst->sum / ((gauge_t)inst->num))); READ_FUNC(min, inst->min); READ_FUNC(max, inst->max); - READ_FUNC(stddev, sqrt((((gauge_t)inst->num) * inst->squares_sum) - - (inst->sum * inst->sum)) / - ((gauge_t)inst->num)); + READ_FUNC(stddev, + sqrt((((gauge_t)inst->num) * inst->squares_sum) - + (inst->sum * inst->sum)) / + ((gauge_t)inst->num)); } /* Reset internal state. */