From: Ben Gras Date: Wed, 19 Sep 2012 17:38:19 +0000 (+0200) Subject: top task uid clear X-Git-Tag: v3.2.1~312 X-Git-Url: http://zhaoyanbai.com/repos/%24relpath%24tabs.css?a=commitdiff_plain;h=b6aab00c373ff105f27a01029bd7caceca980741;p=minix.git top task uid clear --- diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c index 31d8ddb0b..5a8ccbd4e 100644 --- a/usr.bin/top/top.c +++ b/usr.bin/top/top.c @@ -162,7 +162,7 @@ void parse_file(pid_t pid) } p->p_effuid = effuid; - } + } else p->p_effuid = 0; for(i = 1; i < CPUTIMENAMES; i++) { if(fscanf(fp, " %lu %lu",