]> Zhao Yanbai Git Server - minix.git/commitdiff
save a few lines of unnecessary output.
authorBen Gras <ben@minix3.org>
Wed, 23 Sep 2009 13:27:21 +0000 (13:27 +0000)
committerBen Gras <ben@minix3.org>
Wed, 23 Sep 2009 13:27:21 +0000 (13:27 +0000)
kernel/system.c
kernel/utility.c

index cdc4cc65667989cbe871fabcf53f09aada8fa454..c0b8afdae6792acccf657c8fb6f90bdf885307fa 100755 (executable)
@@ -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. */
index a061f6f4f5a82ad546882d37e2f73c6f241db214..0e3ac6ca2ed8fa8efd26e4e88a964296470c35e8 100755 (executable)
@@ -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();
 }