aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-12-02 20:56:51 -0500
committerrsiddharth <s@ricketyspace.net>2020-04-17 20:56:35 -0400
commitc98f28485e5848701fdee76b6506f14d6e75a225 (patch)
treedeeba836ade5019131ea384b1c3d303da55b50a5
parentbb9cfab26a859a0bd2fa7b8d05b91156d066d6d0 (diff)
downloadnserver-c98f28485e5848701fdee76b6506f14d6e75a225.tar.gz
nserver-c98f28485e5848701fdee76b6506f14d6e75a225.tar.bz2
nserver-c98f28485e5848701fdee76b6506f14d6e75a225.tar.xz
nserver-c98f28485e5848701fdee76b6506f14d6e75a225.zip
nserver: Update Stats_dump.
* nserver/src/stats.c (Stats_dump): Add newline to dstr.
-rw-r--r--nserver/src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nserver/src/stats.c b/nserver/src/stats.c
index 6b99e7e..0b793f8 100644
--- a/nserver/src/stats.c
+++ b/nserver/src/stats.c
@@ -56,7 +56,7 @@ char *Stats_dump(Stats *st)
// dump into dump str.
int rc = snprintf(dstr, dstr_len,
"sum: %f, sumsq: %f, n: %ld, "
- "min: %f, max: %f, mean: %f, stddev: %f",
+ "min: %f, max: %f, mean: %f, stddev: %f\n",
st->sum, st->sumsq, st->n, st->min, st->max,
Stats_mean(st), Stats_stddev(st));
check(rc > 0, "stats dump failed");