diff options
Diffstat (limited to 'libbb/bb_askpass.c')
-rw-r--r-- | libbb/bb_askpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/bb_askpass.c b/libbb/bb_askpass.c index 2dcead35a..66d6a479e 100644 --- a/libbb/bb_askpass.c +++ b/libbb/bb_askpass.c | |||
@@ -25,7 +25,7 @@ char* FAST_FUNC bb_ask_noecho(int fd, int timeout, const char *prompt) | |||
25 | /* Was buggy: was printing prompt *before* flushing input, | 25 | /* Was buggy: was printing prompt *before* flushing input, |
26 | * which was upsetting "expect" based scripts of some users. | 26 | * which was upsetting "expect" based scripts of some users. |
27 | */ | 27 | */ |
28 | fputs(prompt, stdout); | 28 | fputs_stdout(prompt); |
29 | fflush_all(); | 29 | fflush_all(); |
30 | 30 | ||
31 | tcgetattr(fd, &oldtio); | 31 | tcgetattr(fd, &oldtio); |