From: nekral-guest Date: Tue, 19 Feb 2008 21:26:04 +0000 (+0000) Subject: Add missing 'p' to the getopt_long's optstring. X-Git-Tag: 4.1.1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a5c015cd12ee49131ec6593add969018f8a8f80;p=shadow Add missing 'p' to the getopt_long's optstring. --- diff --git a/ChangeLog b/ChangeLog index adbe06a1..7a0eb2e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-19 Nicolas François + + * src/groupmod.c: Add missing 'p' to the getopt_long's optstring. + 2008-02-19 Nicolas François * src/groupadd.c: Add missing 'p' to the getopt_long's optstring. diff --git a/src/groupmod.c b/src/groupmod.c index 6bcadddd..4255e858 100644 --- a/src/groupmod.c +++ b/src/groupmod.c @@ -369,7 +369,7 @@ static void process_flags (int argc, char **argv) {NULL, 0, NULL, '\0'} }; while ((c = - getopt_long (argc, argv, "g:hn:o", + getopt_long (argc, argv, "g:hn:op:", long_options, &option_index)) != -1) { switch (c) { case 'g':