From b2c82c75d053c58f83171bc85b3ef2844f317457 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Wed, 9 May 2018 11:49:10 +0200 Subject: [PATCH] Make stdout line-buffered --- fusee/fusee-secondary/src/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fusee/fusee-secondary/src/console.c b/fusee/fusee-secondary/src/console.c index 9b095eb4d..0d3c1270e 100644 --- a/fusee/fusee-secondary/src/console.c +++ b/fusee/fusee-secondary/src/console.c @@ -107,7 +107,7 @@ static int console_create(void) { devoptab_list[STD_OUT] = &dotab_stdout; devoptab_list[STD_ERR] = &dotab_stdout; - setvbuf(stdout, NULL , _IONBF, 0); + setvbuf(stdout, NULL , _IOLBF, 4096); setvbuf(stderr, NULL , _IONBF, 0); g_console_created = true;