From 25f214595692ef2808abe64ad2ddb5884d9afee9 Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Wed, 7 Apr 2010 12:50:43 +0000 Subject: [PATCH] Fixed a panic message - exceptions cannot occur in kernel tasks as we don't have kernel tasks anymore --- kernel/arch/i386/exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/arch/i386/exception.c b/kernel/arch/i386/exception.c index 7267008a2..84cc18b3d 100644 --- a/kernel/arch/i386/exception.c +++ b/kernel/arch/i386/exception.c @@ -229,7 +229,7 @@ PUBLIC void exception_handler(int is_nested, struct exception_frame * frame) (unsigned) saved_proc->p_reg.pc); proc_stacktrace(saved_proc); - panic("exception in a kernel task: %d", saved_proc->p_endpoint); + panic("Unhandled kernel exception"); } else { /* in an early stage of boot process we don't have processes yet */ -- 2.44.0