src/usermod.c: Rename update_group() => update_group_file()

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar 2024-05-16 13:49:34 +02:00 committed by Iker Pedrosa
parent 151f14ad69
commit b089a63ab3

View File

@ -178,7 +178,7 @@ NORETURN static void usage (int status);
static void new_pwent (struct passwd *);
static void new_spent (struct spwd *);
NORETURN static void fail_exit (int);
static void update_group (void);
static void update_group_file(void);
#ifdef SHADOWGRP
static void update_gshadow (void);
@ -685,7 +685,8 @@ fail_exit (int code)
}
static void update_group (void)
static void
update_group_file(void)
{
bool changed;
const struct group *grp;
@ -950,7 +951,7 @@ static void update_gshadow (void)
*/
static void grp_update (void)
{
update_group ();
update_group_file();
#ifdef SHADOWGRP
if (is_shadow_grp) {
update_gshadow ();