fix: error.h should exit with EXIT_FAILURE, rather than 1

This commit is contained in:
2025-07-24 14:22:50 +02:00
parent 1d5df8df0a
commit f0c5408c51

View File

@@ -17,5 +17,5 @@
#define fatal(s, ...) \
do { \
printf("\033[101m" __FILE__ ":" MACRO_STR2(__LINE__) ": [FAT]: " s "\033[0m\n", ##__VA_ARGS__); \
exit(1); \
exit(EXIT_FAILURE); \
} while (0)