aboutsummaryrefslogtreecommitdiff
path: root/exec/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/main.c')
-rw-r--r--exec/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec/main.c b/exec/main.c
index 9021e45c..57bfd137 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -187,6 +187,7 @@ open_console (mach_port_t device_master)
stdin = mach_open_devstream (cons, "r");
stdout = stderr = mach_open_devstream (cons, "w");
+ setlinebuf (stderr);
got_console = 1;
mach_port_deallocate (mach_task_self (), cons);