From 3033eb2b69bc357cbb1bb785bb614cd429addc88 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Mon, 3 Jun 2024 00:28:36 +0300 Subject: [PATCH] template.c: use `EXIT_FAILURE` instead of `1` --- src/template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/template.c b/src/template.c index 2a0fc9a..10a6aa5 100644 --- a/src/template.c +++ b/src/template.c @@ -173,7 +173,7 @@ main(void) if (output_file == NULL) { fflush(stdout); perror("fopen"); - return 1; + return EXIT_FAILURE; } // 2. prepare variables