diff options
Diffstat (limited to 'lib/error.c')
| -rw-r--r-- | lib/error.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/error.c b/lib/error.c index 3d88234..262896e 100644 --- a/lib/error.c +++ b/lib/error.c @@ -25,6 +25,9 @@ void __log_impl_pos(int line, int column, int type, const char *format, ...) case __ERROR: t = "\033[31merror:\033[0m"; break; + case __BUG: + t = "\033[31bug:\033[0m"; + break; } if (current_file != NULL) @@ -55,6 +58,9 @@ void __log_impl(int type, const char *format, ...) case __ERROR: t = "\033[31merror:\033[0m"; break; + case __BUG: + t = "\033[31bug:\033[0m"; + break; } if (current_file != NULL) |