traceroute: fix help text to not show -6 when traceroute6 is off
[oweals/busybox.git] / libbb / bb_askpass.c
index 073175c1fb663ec01bede96c52aa8afb5176af61..f9b918cecef643a070d35a33d6d7aec88f25524d 100644 (file)
@@ -55,7 +55,7 @@ char* FAST_FUNC bb_ask(const int fd, int timeout, const char *prompt)
        }
 
        fputs(prompt, stdout);
-       fflush(stdout);
+       fflush_all();
        ret = NULL;
        /* On timeout or Ctrl-C, read will hopefully be interrupted,
         * and we return NULL */
@@ -77,6 +77,6 @@ char* FAST_FUNC bb_ask(const int fd, int timeout, const char *prompt)
 
        tcsetattr_stdin_TCSANOW(&oldtio);
        bb_putchar('\n');
-       fflush(stdout);
+       fflush_all();
        return ret;
 }