]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix bug introduced by suppressing error message of dead destinations
authorBen Gras <ben@minix3.org>
Thu, 6 Oct 2005 12:06:27 +0000 (12:06 +0000)
committerBen Gras <ben@minix3.org>
Thu, 6 Oct 2005 12:06:27 +0000 (12:06 +0000)
during shutdown

kernel/proc.c

index d613ed8eed15f13eda488521dda8ebcdfc0b6832..78e2cfd25ab29ce5abc443b4327d70063c768b46 100755 (executable)
@@ -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 */
       }
   }