From d86f1af34b5c172ff47c2c30fa2eaf063a662466 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Fri, 27 Nov 2015 18:08:59 +0100 Subject: [PATCH] core: make assertions easier to spot --- core/panic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/panic.c b/core/panic.c index c1f3c1f58..257904765 100644 --- a/core/panic.c +++ b/core/panic.c @@ -35,7 +35,7 @@ #include "ps.h" #endif -const char assert_crash_message[] = "Failed assertion."; +const char assert_crash_message[] = "FAILED ASSERTION."; /* flag preventing "recursive crash printing loop" */ static int crashed = 0; @@ -53,8 +53,9 @@ NORETURN void core_panic(core_panic_t crash_code, const char *message) cpu_print_last_instruction(); } #endif - puts("*** RIOT kernel panic"); + puts("*** RIOT kernel panic:"); puts(message); + puts(""); #ifdef DEVELHELP #ifdef MODULE_PS ps();