aboutsummaryrefslogtreecommitdiff
path: root/loginutils/addgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/addgroup.c')
-rw-r--r--loginutils/addgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c
index cf7cca907..b213074a6 100644
--- a/loginutils/addgroup.c
+++ b/loginutils/addgroup.c
@@ -139,7 +139,7 @@ int addgroup_main(int argc, char **argv)
* addgroup user group
* Check for min, max and missing args */
opt_complementary = "-1:?2";
- if (getopt32(argc, argv, "g:", &group)) {
+ if (getopt32(argv, "g:", &group)) {
gid = xatoul_range(group, 0, ((unsigned long)(gid_t)ULONG_MAX) >> 1);
}
/* move past the commandline options */