From: nekral-guest Date: Tue, 19 Feb 2008 21:10:17 +0000 (+0000) Subject: Add missing 'p' to the getopt_long's optstring. X-Git-Tag: 4.1.1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ec4a64cdbad0795ffb944540285809344e8a9a7;p=thirdparty%2Fshadow.git Add missing 'p' to the getopt_long's optstring. --- diff --git a/ChangeLog b/ChangeLog index f71273598..2a2bc866e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-19 Nicolas François + + * src/groupadd.c: Add missing 'p' to the getopt_long's optstring. + 2008-02-19 Nicolas François * NEWS, etc/login.defs: Set GID_MIN to the same value as UID_MIN diff --git a/src/groupadd.c b/src/groupadd.c index 8a2b42949..7e6ab8e69 100644 --- a/src/groupadd.c +++ b/src/groupadd.c @@ -364,7 +364,7 @@ static void process_flags (int argc, char **argv) }; while ((c = - getopt_long (argc, argv, "fg:hK:or", long_options, + getopt_long (argc, argv, "fg:hK:op:r", long_options, &option_index)) != -1) { switch (c) { case 'f':