diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-09-19 13:49:04 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-09-19 13:49:04 +0100 |
commit | c2f9ce9c4b65ee53cd0c070895833215185061f3 (patch) | |
tree | 23ba9cde2a933448395d236ac4a87d22ee2d7282 /cmd/cmd_botu.c | |
parent | fc6970fcd404305c3e16d2e90d6d0dec4b03c160 (diff) | |
download | agni-c2f9ce9c4b65ee53cd0c070895833215185061f3.tar.gz agni-c2f9ce9c4b65ee53cd0c070895833215185061f3.zip |
New line bug fix, /b 5
Diffstat (limited to 'cmd/cmd_botu.c')
-rw-r--r-- | cmd/cmd_botu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_botu.c b/cmd/cmd_botu.c index d5a9e4e..ac9eb1a 100644 --- a/cmd/cmd_botu.c +++ b/cmd/cmd_botu.c @@ -35,7 +35,7 @@ void *cmd_botu(void *data) proc_sec = start.tv_sec - file_stat.st_ctim.tv_sec; - snprintf(buf, buf_size, "%lud %luh %lum %lus\n", + snprintf(buf, buf_size, "%lud %luh %lum %lus", (proc_sec/(3600*24)), (proc_sec/(3600))%24, (proc_sec/60)%60, |