aboutsummaryrefslogtreecommitdiff
path: root/procps/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/watch.c')
-rw-r--r--procps/watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/watch.c b/procps/watch.c
index 5fd051072..f446ec918 100644
--- a/procps/watch.c
+++ b/procps/watch.c
@@ -64,7 +64,7 @@ int watch_main(int argc UNUSED_PARAM, char **argv)
puts(header);
}
- fflush(stdout);
+ fflush_all();
// TODO: 'real' watch pipes cmd's output to itself
// and does not allow it to overflow the screen
// (taking into account linewrap!)