summaryrefslogtreecommitdiff
path: root/cmd/cmd_uptime.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_uptime.c
parentfc6970fcd404305c3e16d2e90d6d0dec4b03c160 (diff)
downloadagni-c2f9ce9c4b65ee53cd0c070895833215185061f3.tar.gz
agni-c2f9ce9c4b65ee53cd0c070895833215185061f3.zip
New line bug fix, /b 5
Diffstat (limited to 'cmd/cmd_uptime.c')
-rw-r--r--cmd/cmd_uptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_uptime.c b/cmd/cmd_uptime.c
index 4f0a4f3..c4dfda7 100644
--- a/cmd/cmd_uptime.c
+++ b/cmd/cmd_uptime.c
@@ -25,7 +25,7 @@ void *cmd_uptime(void *data)
i1 = d1;
printf("Days %d Hours %d Minutes %d\n",i1/(3600*24),i1/(3600)%24, (i1/60)%60);
- snprintf(buf, buf_size,"%dd %dh %dm\n",i1/(3600*24),i1/(3600)%24, (i1/60)%60);
+ snprintf(buf, buf_size,"%dd %dh %dm",i1/(3600*24),i1/(3600)%24, (i1/60)%60);
ret = alloc_new_str(buf);