From c2f9ce9c4b65ee53cd0c070895833215185061f3 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Tue, 19 Sep 2017 13:49:04 +0100 Subject: New line bug fix, /b 5 --- cmd/cmd_botu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/cmd_botu.c') 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, -- cgit v1.2.3