diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-10-22 19:15:43 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-10-22 19:15:43 +0000 |
commit | 949dcf56032961a9fe4c12f09e717b77baf04afa (patch) | |
tree | 5ece99aa490797b1ccd25f845cd7ae14dc71c51d /init | |
parent | bcf9c629b272d352a252e9b57cc35db3eee71882 (diff) | |
download | busybox-w32-949dcf56032961a9fe4c12f09e717b77baf04afa.tar.gz busybox-w32-949dcf56032961a9fe4c12f09e717b77baf04afa.tar.bz2 busybox-w32-949dcf56032961a9fe4c12f09e717b77baf04afa.zip |
I committed the fflush in the wrong spot. I should go to bed
earlier so I don't screw up such easy stuff.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@5687 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 9a4c9669c..79ab78fc2 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -627,8 +627,8 @@ static pid_t run(struct init_action *a) | |||
627 | messageND(LOG, | 627 | messageND(LOG, |
628 | "Waiting for enter to start '%s' (pid %d, terminal %s)\n", | 628 | "Waiting for enter to start '%s' (pid %d, terminal %s)\n", |
629 | cmdpath, getpid(), a->terminal); | 629 | cmdpath, getpid(), a->terminal); |
630 | write(fileno(stdout), press_enter, sizeof(press_enter) - 1); | ||
631 | fflush(stdout); | 630 | fflush(stdout); |
631 | write(fileno(stdout), press_enter, sizeof(press_enter) - 1); | ||
632 | getc(stdin); | 632 | getc(stdin); |
633 | } | 633 | } |
634 | 634 | ||