From 7ec4a64cdbad0795ffb944540285809344e8a9a7 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 19 Feb 2008 21:10:17 +0000 Subject: [PATCH] Add missing 'p' to the getopt_long's optstring. --- ChangeLog | 4 ++++ src/groupadd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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': -- 2.47.2