projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e36eb8
)
watch: more compatible screen format
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 2 Jan 2010 00:57:32 +0000
(
01:57
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 2 Jan 2010 00:57:32 +0000
(
01:57
+0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/watch.c
patch
|
blob
|
history
diff --git
a/procps/watch.c
b/procps/watch.c
index f446ec91817162cab556e04528299f9961bf767d..ad44b3a3e2d6e4999022c8656c8bbfd8989cd16a 100644
(file)
--- 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));
- p
uts(header);
+ p
rintf("%s\n\n", header); /* compat: empty line */
}
fflush_all();
// TODO: 'real' watch pipes cmd's output to itself