From df361e818ebeb6d1f2d48df999c98b7d482866b2 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 8 Mar 2006 13:10:35 +0000 Subject: [PATCH] Endpoint-enabled fix --- commands/ps/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.