diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-02 01:57:32 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-02 01:57:32 +0100 |
commit | f25252c69e4b46917daa799d2ebe4b4f4da9410d (patch) | |
tree | edda5eb31e5075bd59d2df7c548782d7e6c763c8 /procps | |
parent | 2e36eb8f273f4542a473b71a1a5c399d729acf54 (diff) | |
download | busybox-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.c | 2 |
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 |