From 0d59153a5806a9f081c6cbd76a327d288764f694 Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 22 Jan 2026 15:35:45 +0100 Subject: [PATCH] fix: sparse issue with EXIT_FAILURE. EXIT_FAILURE aparrently is defined the same for every platform, so there is no fucking difference using this macro. --- src/util/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/error.c b/src/util/error.c index 3f17c7b..a4eae4c 100644 --- a/src/util/error.c +++ b/src/util/error.c @@ -61,5 +61,5 @@ void error_fatal(uint ln, const char *restrict file, const char *restrict fmt, . error_log(stdout, "\033[101mFAT\033[0m", ln, file, fmt, ap); va_end(ap); - exit(EXIT_FAILURE); + exit(1); }