Endpoint-enabled fix

This commit is contained in:
Ben Gras 2006-03-08 13:10:35 +00:00
parent 4b62006c04
commit df361e818e

View file

@ -211,7 +211,7 @@ Dev_t dev_nr;
char *taskname(p_nr)
int p_nr;
{
return ps_proc[p_nr + nr_tasks].p_name;
return ps_proc[_ENDPOINT_P(p_nr) + nr_tasks].p_name;
}
/* Prrecv prints the RECV field for process with pstat buffer pointer bufp.