traceroute: fix help text to not show -6 when traceroute6 is off
[oweals/busybox.git] / libbb / login.c
index 07247a8c54d7a4bf006c97a5d08a382aea3a4bed..740c588f36f3a927419e9567b0eb0a4c2d0af99c 100644 (file)
@@ -85,7 +85,7 @@ void FAST_FUNC print_login_issue(const char *issue_file, const char *tty)
                fputs(outbuf, stdout);
        }
        fclose(fp);
-       fflush(stdout);
+       fflush_all();
 }
 
 void FAST_FUNC print_login_prompt(void)
@@ -94,7 +94,7 @@ void FAST_FUNC print_login_prompt(void)
 
        fputs(hostname, stdout);
        fputs(LOGIN, stdout);
-       fflush(stdout);
+       fflush_all();
        free(hostname);
 }