]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Fix comment. find_new_fid is no more called is the user specified a group
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 27 Jan 2008 14:31:23 +0000 (14:31 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 27 Jan 2008 14:31:23 +0000 (14:31 +0000)
ID.

src/useradd.c

index 9d7c3eda8ed21753b52e671f82fe57c8db17ea74..45a07d57064cb5aa7afd3017c824fb9bb406ac38 100644 (file)
@@ -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 ())) {