From: Ben Gras Date: Wed, 23 Sep 2009 13:27:21 +0000 (+0000) Subject: save a few lines of unnecessary output. X-Git-Tag: v3.1.5~95 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=9e53925504cce841d8e77e08e39df0503ba9412e;p=minix.git save a few lines of unnecessary output. --- diff --git a/kernel/system.c b/kernel/system.c index cdc4cc656..c0b8afdae 100755 --- a/kernel/system.c +++ b/kernel/system.c @@ -449,11 +449,9 @@ register struct proc *rc; /* slot of process to clean up */ /* This test is great for debugging system processes dying, * but as this happens normally on reboot, not good permanent code. */ - kprintf("process %s / %d died; stack: ", rc->p_name, rc->p_endpoint); + kprintf("died: "); proc_stacktrace(rc); - kprintf("kernel trace: "); - util_stacktrace(); - minix_panic("clear_proc: system process died", rc->p_endpoint); + minix_panic("system process died", rc->p_endpoint); } /* Make sure that the exiting process is no longer scheduled. */ diff --git a/kernel/utility.c b/kernel/utility.c index a061f6f4f..0e3ac6ca2 100755 --- a/kernel/utility.c +++ b/kernel/utility.c @@ -46,8 +46,7 @@ if (!minix_panicing++) { kprintf("\n"); } - kprintf("proc_ptr %s / %d\n", proc_ptr->p_name, proc_ptr->p_endpoint); - kprintf("kernel stacktrace: "); + kprintf("kernel: "); util_stacktrace(); }