aboutsummaryrefslogtreecommitdiff
path: root/src/userprivs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userprivs.c')
-rw-r--r--src/userprivs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprivs.c b/src/userprivs.c
index 46e546f..eb424fe 100644
--- a/src/userprivs.c
+++ b/src/userprivs.c
@@ -70,7 +70,7 @@ get_user_groups(struct privinfo *pi)
user = pw->pw_name;
setgrent();
- while (gr = getgrent()) {
+ while ((gr = getgrent())) {
char **p;
for (p = gr->gr_mem; *p; p++)
if (strcmp(*p, user) == 0) {

Return to:

Send suggestions and report system problems to the System administrator.