scap-security-guide: init at 0.1.75 (#375627)
[NixPkgs.git] / pkgs / os-specific / linux / minimal-bootstrap / musl / always-flush.patch
blobcdeddf962d9d610975ea82107281692c6edf233a
1 diff --git src/env/__libc_start_main.c src/env/__libc_start_main.c
2 index 8fbe526..9476c22 100644
3 --- src/env/__libc_start_main.c
4 +++ src/env/__libc_start_main.c
5 @@ -91,6 +91,7 @@ static int libc_start_main_stage2(int (*main)(int,char **,char **), int argc, ch
6 __libc_start_init();
8 /* Pass control to the application */
9 + setbuf(stdout, NULL);
10 exit(main(argc, argv, envp));
11 return 0;