diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-07-10 05:45:15 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-07-10 05:45:15 +0200 |
commit | 2d11cfdfcfc9c80de467200df517a706490cfd80 (patch) | |
tree | ea23169b0cf9f53101b37b379a1bcada482bd87d | |
parent | 342e1ae4cc7ca25c269f59ef4d2591d1b89862da (diff) | |
download | bxgen-2d11cfdfcfc9c80de467200df517a706490cfd80.zip |
Use abort in bx_assert
-rwxr-xr-x | bxgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1474,7 +1474,7 @@ void bx_assert(b8 condition, c8 const *message, u32 line, c8 const *file) { fflush(stdout); fprintf(stderr, "\r\x1b[31mASSERTION:\x1b[37m `\x1b[33m%s\x1b[37m` is false in \x1b[36m%s:%d\x1b[37m\n", message, file, line); - exit(-1); + abort(); } // IO dispatch procedure |