projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6f7bfb
)
I committed the fflush in the wrong spot. I should go to bed
author
Eric Andersen
<andersen@codepoet.org>
Tue, 22 Oct 2002 19:15:43 +0000
(19:15 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 22 Oct 2002 19:15:43 +0000
(19:15 -0000)
earlier so I don't screw up such easy stuff.
-Erik
init/init.c
patch
|
blob
|
history
diff --git
a/init/init.c
b/init/init.c
index 9a4c9669cbd9cc81f7549b2570cfb1be28cc7182..79ab78fc240f23d09e4d1395d7e1518744d5d753 100644
(file)
--- a/
init/init.c
+++ b/
init/init.c
@@
-627,8
+627,8
@@
static pid_t run(struct init_action *a)
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);
}