aboutsummaryrefslogtreecommitdiff
path: root/util-linux/more.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/more.c')
-rw-r--r--util-linux/more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/more.c b/util-linux/more.c
index 9ac4dd8e3..555f033d4 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -114,7 +114,7 @@ int more_main(int argc UNUSED_PARAM, char **argv)
114 (int) (ftello(file)*100 / st.st_size), 114 (int) (ftello(file)*100 / st.st_size),
115 st.st_size); 115 st.st_size);
116 } 116 }
117 fflush(stdout); 117 fflush_all();
118 118
119 /* 119 /*
120 * We've just displayed the "--More--" prompt, so now we need 120 * We've just displayed the "--More--" prompt, so now we need
@@ -189,7 +189,7 @@ int more_main(int argc UNUSED_PARAM, char **argv)
189 putchar(c); 189 putchar(c);
190 } 190 }
191 fclose(file); 191 fclose(file);
192 fflush(stdout); 192 fflush_all();
193 } while (*argv && *++argv); 193 } while (*argv && *++argv);
194 end: 194 end:
195 setTermSettings(cin_fileno, &initial_settings); 195 setTermSettings(cin_fileno, &initial_settings);