[git commit master] watch: more compatible screen format
Denys Vlasenko
vda.linux at googlemail.com
Sat Jan 2 00:57:32 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=f25252c69e4b46917daa799d2ebe4b4f4da9410d
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
procps/watch.c | 2 +-
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
--
1.6.3.3
More information about the busybox-cvs
mailing list