diff options
Diffstat (limited to 'cmd/cmd_loadavg.c')
-rw-r--r-- | cmd/cmd_loadavg.c | 2 |
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); |