summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-02 01:57:32 +0100
committerDenys Vlasenko2010-01-02 01:57:32 +0100
commitf25252c69e4b46917daa799d2ebe4b4f4da9410d (patch)
treeedda5eb31e5075bd59d2df7c548782d7e6c763c8
parent2e36eb8f273f4542a473b71a1a5c399d729acf54 (diff)
downloadbusybox-f25252c69e4b46917daa799d2ebe4b4f4da9410d.zip
busybox-f25252c69e4b46917daa799d2ebe4b4f4da9410d.tar.gz
watch: more compatible screen format
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--procps/watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/watch.c b/procps/watch.c
index f446ec9..ad44b3a 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