From f25252c69e4b46917daa799d2ebe4b4f4da9410d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 2 Jan 2010 01:57:32 +0100 Subject: watch: more compatible screen format Signed-off-by: Denys Vlasenko --- procps/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'procps') diff --git a/procps/watch.c b/procps/watch.c index f446ec918..ad44b3a3e 100644 --- a/procps/watch.c +++ b/procps/watch.c @@ -62,7 +62,7 @@ int watch_main(int argc UNUSED_PARAM, char **argv) strftime(header + width - time_len, time_len, "%Y-%m-%d %H:%M:%S", localtime(&t)); - puts(header); + printf("%s\n\n", header); /* compat: empty line */ } fflush_all(); // TODO: 'real' watch pipes cmd's output to itself -- cgit v1.2.3