]> Zhao Yanbai Git Server - minix.git/commitdiff
panic() on inconsistent endpoints
authorBen Gras <ben@minix3.org>
Fri, 10 Mar 2006 12:59:46 +0000 (12:59 +0000)
committerBen Gras <ben@minix3.org>
Fri, 10 Mar 2006 12:59:46 +0000 (12:59 +0000)
servers/fs/main.c

index 074e512894ed0ed2f20cc75e272ed05ceee39068..eb6aa36fddfc1e3682b45cb77e9908340ac0d79f 100644 (file)
@@ -140,8 +140,9 @@ PRIVATE void get_work()
        continue;
     }
     if(who_p >= 0 && fproc[who_p].fp_endpoint != who_e) {
-       printf("FS: receive endpoint inconsistent (%d, %d), ignoring %d",
-               fproc[who_p].fp_endpoint, who_e, m_in.m_type);
+       printf("FS: receive endpoint inconsistent (%d, %d, %d).\n",
+               who_e, fproc[who_p].fp_endpoint, who_e);
+       panic(__FILE__, "FS: inconsistent endpoint ", NO_NUM);
        continue;
     }
     call_nr = m_in.m_type;