aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libkogata/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libkogata/debug.c')
-rw-r--r--src/lib/libkogata/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libkogata/debug.c b/src/lib/libkogata/debug.c
index a8b9414..ac3e0e2 100644
--- a/src/lib/libkogata/debug.c
+++ b/src/lib/libkogata/debug.c
@@ -5,13 +5,13 @@
#include <syscall.h>
void panic(const char* msg, const char* file, int line) {
- dbg_printf("Panic '%s', at %s:%d\n", msg, file, line);
+ dbg_printf("PANIC in user process\n %s\n at %s:%d\n", msg, file, line);
exit(-1);
while(true);
}
void panic_assert(const char* assert, const char* file, int line) {
- dbg_printf("Assert failed '%s', at %s:%d\n", assert, file, line);
+ dbg_printf("ASSERT FAILED in user process\n %s\n at %s:%d\n", assert, file, line);
exit(-1);
while(true);
}