From: Ben Gras Date: Fri, 3 Mar 2006 10:22:35 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.2a~311 X-Git-Url: http://zhaoyanbai.com/repos/icons/valid-xhtml10.png?a=commitdiff_plain;h=d1d4b5ae4d4c9f82f612061683c005e5bfe2d707;p=minix.git *** empty log message *** --- diff --git a/commands/ps/ps.c b/commands/ps/ps.c index e06ecb16a..7a5a66945 100644 --- a/commands/ps/ps.c +++ b/commands/ps/ps.c @@ -54,6 +54,7 @@ */ #include +#include #include #include #include @@ -524,7 +525,7 @@ struct pstat *bufp; bufp->ps_data = (off_t) ps_proc[p_ki].p_memmap[D].mem_phys << CLICK_SHIFT; bufp->ps_stack = (off_t) ps_proc[p_ki].p_memmap[S].mem_phys << CLICK_SHIFT; - bufp->ps_recv = ps_proc[p_ki].p_getfrom; + bufp->ps_recv = _ENDPOINT_P(ps_proc[p_ki].p_getfrom_e); bufp->ps_utime = ps_proc[p_ki].p_user_time; bufp->ps_stime = ps_proc[p_ki].p_sys_time;