summaryrefslogtreecommitdiff
path: root/cmd/cmd_loadavg.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-09-19 13:49:04 +0100
committerFreeArtMan <dos21h@gmail.com>2017-09-19 13:49:04 +0100
commitc2f9ce9c4b65ee53cd0c070895833215185061f3 (patch)
tree23ba9cde2a933448395d236ac4a87d22ee2d7282 /cmd/cmd_loadavg.c
parentfc6970fcd404305c3e16d2e90d6d0dec4b03c160 (diff)
downloadagni-c2f9ce9c4b65ee53cd0c070895833215185061f3.tar.gz
agni-c2f9ce9c4b65ee53cd0c070895833215185061f3.zip
New line bug fix, /b 5
Diffstat (limited to 'cmd/cmd_loadavg.c')
-rw-r--r--cmd/cmd_loadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_loadavg.c b/cmd/cmd_loadavg.c
index 330376e..07d8f4a 100644
--- a/cmd/cmd_loadavg.c
+++ b/cmd/cmd_loadavg.c
@@ -19,7 +19,7 @@ void *cmd_loadavg(void *data)
}
printf("1M %lf 5M %lf 15M %lf\n", loadavg_d[0], loadavg_d[1], loadavg_d[2]);
- snprintf(buf, buf_size,"1M %.1f 5M %.1f 15M %.1f\n", loadavg_d[0], loadavg_d[1], loadavg_d[2]);
+ snprintf(buf, buf_size,"1M %.1f 5M %.1f 15M %.1f", loadavg_d[0], loadavg_d[1], loadavg_d[2]);
ret = alloc_new_str(buf);