diff --git a/src/template.c b/src/template.c index e6c528d..cad211f 100644 --- a/src/template.c +++ b/src/template.c @@ -147,6 +147,7 @@ main(void) // 1. open file FILE* output_file = fopen(OUTPUT_FILE, "wb"); if (output_file == NULL) { + fflush(stdout); perror("fopen"); return 1; }