From: Ben Gras Date: Fri, 3 Mar 2006 10:25:28 +0000 (+0000) Subject: Fix of endpointless slot message in FS X-Git-Tag: v3.1.2a~310 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/ddns-confgen.html?a=commitdiff_plain;h=b103bf5dc73b1adb1fca2210e25b01d9660323cd;p=minix.git Fix of endpointless slot message in FS Removed some leftover '#if 0'ed debug code in PM --- diff --git a/servers/fs/main.c b/servers/fs/main.c index 06e9b9d63..be7b2e506 100644 --- a/servers/fs/main.c +++ b/servers/fs/main.c @@ -134,7 +134,7 @@ PRIVATE void get_work() if(who_p < -NR_TASKS || who_p >= NR_PROCS) panic(__FILE__,"receive process out of range", who_p); if(who_p >= 0 && fproc[who_p].fp_endpoint == NONE) { - printf("FS: ignoring request from %d, endpointless slot %d (%d)", + printf("FS: ignoring request from %d, endpointless slot %d (%d)\n", m_in.m_source, who_p, m_in.m_type); continue; } diff --git a/servers/pm/main.c b/servers/pm/main.c index 77a0040d7..ec31baa50 100644 --- a/servers/pm/main.c +++ b/servers/pm/main.c @@ -69,14 +69,7 @@ PUBLIC int main() else if ((unsigned) call_nr >= NCALLS) { result = ENOSYS; } else { -#if 0 - printf("[pm: %s %d %d %d ", - who_p >= 0 ? mproc[who_p].mp_name : "?", who_e, who_p, call_nr); -#endif result = (*call_vec[call_nr])(); -#if 0 - printf(" %d] ", result); -#endif } /* Send the results back to the user to indicate completion. */