aboutsummaryrefslogtreecommitdiff
path: root/proc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/main.c')
-rw-r--r--proc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/main.c b/proc/main.c
index 747646ef..56ba3d3d 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -132,7 +132,7 @@ open_console (mach_port_t device_master)
stdin = mach_open_devstream (cons, "r");
stdout = stderr = mach_open_devstream (cons, "w");
- setbuf (stdout, NULL);
+ setlinebuf (stderr);
got_console = 1;
mach_port_deallocate (mach_task_self (), cons);