From: nekral-guest Date: Sun, 27 Jan 2008 14:31:23 +0000 (+0000) Subject: Fix comment. find_new_fid is no more called is the user specified a group X-Git-Tag: 4.1.1~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=375508664576dce8b397da69f4345a65cd0a63e9;p=thirdparty%2Fshadow.git Fix comment. find_new_fid is no more called is the user specified a group ID. --- diff --git a/src/useradd.c b/src/useradd.c index 9d7c3eda8..45a07d570 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -171,6 +171,7 @@ static long scale_age (long); static void new_spent (struct spwd *); static void grp_update (void); static void find_new_uid (void); +static void find_new_gid (void); static void process_flags (int argc, char **argv); static void close_files (void); @@ -885,9 +886,8 @@ static void find_new_gid (void) user_gid = gid_min; /* - * Search the entire group file, either looking for this - * GID (if the user specified one with -g) or looking for the - * largest unused value. + * Search the entire group file, + * looking for the largest unused value. */ setgrent (); while ((grp = getgrent ())) {