From: Ben Gras Date: Thu, 6 Oct 2005 12:06:27 +0000 (+0000) Subject: Fix bug introduced by suppressing error message of dead destinations X-Git-Url: http://zhaoyanbai.com/repos/doxygen.log?a=commitdiff_plain;h=5e5d2f16b9b6ea84ce1f583d0f69b0372c3a978e;p=minix.git Fix bug introduced by suppressing error message of dead destinations during shutdown --- diff --git a/kernel/proc.c b/kernel/proc.c index d613ed8ee..78e2cfd25 100755 --- a/kernel/proc.c +++ b/kernel/proc.c @@ -149,9 +149,9 @@ message *m_ptr; /* pointer to message in the caller's space */ return(ECALLDENIED); /* call denied by ipc mask */ } - if (isemptyn(src_dst) && !shutdown_started) { - kprintf("sys_call: dead dest; %d, %d, %d\n", - function, proc_nr(caller_ptr), src_dst); + if (isemptyn(src_dst)) { + if(!shutdown_started) + kprintf("sys_call: dead dst; %d->%d\n", proc_nr(caller_ptr), src_dst); return(EDEADDST); /* cannot send to the dead */ } }