From: Ben Gras Date: Wed, 8 Mar 2006 13:10:35 +0000 (+0000) Subject: Endpoint-enabled fix X-Git-Tag: v3.1.2a~284 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/expat.png?a=commitdiff_plain;h=df361e818ebeb6d1f2d48df999c98b7d482866b2;p=minix.git Endpoint-enabled fix --- diff --git a/commands/ps/ps.c b/commands/ps/ps.c index 7a5a66945..a7a16b191 100644 --- a/commands/ps/ps.c +++ b/commands/ps/ps.c @@ -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.