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 | |
parent | 2e36eb8f273f4542a473b71a1a5c399d729acf54 (diff) | |
download | busybox-w32-f25252c69e4b46917daa799d2ebe4b4f4da9410d.tar.gz busybox-w32-f25252c69e4b46917daa799d2ebe4b4f4da9410d.tar.bz2 busybox-w32-f25252c69e4b46917daa799d2ebe4b4f4da9410d.zip |
watch: more compatible screen format
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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) | |||
62 | strftime(header + width - time_len, time_len, | 62 | strftime(header + width - time_len, time_len, |
63 | "%Y-%m-%d %H:%M:%S", localtime(&t)); | 63 | "%Y-%m-%d %H:%M:%S", localtime(&t)); |
64 | 64 | ||
65 | puts(header); | 65 | printf("%s\n\n", header); /* compat: empty line */ |
66 | } | 66 | } |
67 | fflush_all(); | 67 | fflush_all(); |
68 | // TODO: 'real' watch pipes cmd's output to itself | 68 | // TODO: 'real' watch pipes cmd's output to itself |