X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=macro.h;h=d97c41f2eb25392120935a637127141d70808aa8;hp=9e4bcd1ccd3eac35b31d80081d6325d5ac93c279;hb=b0bd74e35e935aa976b68c594def4e8d2c22ef95;hpb=473d6569efcad130f9a5044b182b75a1c07a1eee diff --git a/macro.h b/macro.h index 9e4bcd1..d97c41f 100644 --- a/macro.h +++ b/macro.h @@ -77,8 +77,8 @@ static inline void fatal(const char *function, int line, const char *fmt, ...) fprintf(stderr, "FATAL ERROR in function %s, line %d: %s", function, line, buffer); fprintf(stderr, "This error is not recoverable, must exit here.\n"); #ifdef DEBUG_FUNC - debug(function, line, "FATAL ERROR", buffer); - debug(function, line, "FATAL ERROR", (char *)"This error is not recoverable, must exit here.\n"); + debug(function, line, "FATAL", buffer); + debug(function, line, "FATAL", (char *)"This error is not recoverable, must exit here.\n"); #endif exit(EXIT_FAILURE); }