aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-02 01:57:32 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-02 01:57:32 +0100
commitf25252c69e4b46917daa799d2ebe4b4f4da9410d (patch)
treeedda5eb31e5075bd59d2df7c548782d7e6c763c8 /procps
parent2e36eb8f273f4542a473b71a1a5c399d729acf54 (diff)
downloadbusybox-f25252c69e4b46917daa799d2ebe4b4f4da9410d.tar.gz
watch: more compatible screen format
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/watch.c2
1 files changed, 1 insertions, 1 deletions
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