Fix of endpointless slot message in FS

Removed some leftover '#if 0'ed debug code in PM
This commit is contained in:
Ben Gras 2006-03-03 10:25:28 +00:00
parent d1d4b5ae4d
commit b103bf5dc7
2 changed files with 1 additions and 8 deletions

View File

@ -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;
}

View File

@ -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. */