From b6aab00c373ff105f27a01029bd7caceca980741 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 19 Sep 2012 19:38:19 +0200 Subject: [PATCH] top task uid clear --- usr.bin/top/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.11.4.GIT