From: Tomas Hruby Date: Wed, 7 Apr 2010 12:50:43 +0000 (+0000) Subject: Fixed a panic message X-Git-Tag: v3.1.7~173 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/static/topojson.min.js?a=commitdiff_plain;h=25f214595692ef2808abe64ad2ddb5884d9afee9;p=minix.git Fixed a panic message - exceptions cannot occur in kernel tasks as we don't have kernel tasks anymore --- 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 */