]> Zhao Yanbai Git Server - minix.git/commitdiff
top task uid clear
authorBen Gras <ben@minix3.org>
Wed, 19 Sep 2012 17:38:19 +0000 (19:38 +0200)
committerBen Gras <ben@minix3.org>
Wed, 19 Sep 2012 17:38:19 +0000 (19:38 +0200)
usr.bin/top/top.c

index 31d8ddb0bd2efd33d4b4cb00f437c0986c0193cf..5a8ccbd4e4bffe3ae50ce3057c35d9d5911ced83 100644 (file)
@@ -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",