summaryrefslogtreecommitdiffstats
path: root/pw/pw_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw/pw_group.c')
-rw-r--r--pw/pw_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_group.c b/pw/pw_group.c
index 37f2426..c001160 100644
--- a/pw/pw_group.c
+++ b/pw/pw_group.c
@@ -116,7 +116,7 @@ pw_group(struct userconf * cnf, int mode, struct cargs * args)
char *fmems[1];
fmems[0] = NULL;
fakegroup.gr_name = a_name ? a_name->val : "nogroup";
- fakegroup.gr_gid = a_gid ? (gid_t) atol(a_gid->val) : (uid_t)-1;
+ fakegroup.gr_gid = a_gid ? (gid_t) atol(a_gid->val) : (gid_t)-1;
fakegroup.gr_mem = fmems;
return print_group(&fakegroup, getarg(args, 'P') != NULL);
}