From fceb15b1d325a7bb0bcab8993a1057cb991172e8 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Fri, 22 May 2015 03:28:49 +0200 Subject: support for fg and bg color escape sequences --- lib/logger/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/logger/log.c b/lib/logger/log.c index daa3713..ef68a2e 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -68,7 +68,7 @@ void log(char *module_name, int log_level, char *format_string, ...) void panic(char *module_name, char *message) { char buf_log[256]; - tfp_sprintf(buf_log,"KERNEL PANIC !! %s: %s\n",module_name,message); + tfp_sprintf(buf_log,"\033[41;37m\n !! KERNEL PANIC !! %s: %s\n\n",module_name,message); log_string(buf_log); while(1) -- cgit v1.2.3