commit | f02c26f1ef4777d2f0490d241bb4f465c2bd97a6 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Tue Oct 22 19:15:43 2002 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Tue Oct 22 19:15:43 2002 +0000 |
tree | 5ece99aa490797b1ccd25f845cd7ae14dc71c51d | |
parent | f6f7bfb8e0a257137f8c2dad83ae4ed826b4e4bb [diff] [blame] |
I committed the fflush in the wrong spot. I should go to bed earlier so I don't screw up such easy stuff. -Erik
diff --git a/init/init.c b/init/init.c index 9a4c966..79ab78f 100644 --- a/init/init.c +++ b/init/init.c
@@ -627,8 +627,8 @@ messageND(LOG, "Waiting for enter to start '%s' (pid %d, terminal %s)\n", cmdpath, getpid(), a->terminal); - write(fileno(stdout), press_enter, sizeof(press_enter) - 1); fflush(stdout); + write(fileno(stdout), press_enter, sizeof(press_enter) - 1); getc(stdin); }