src/usermod.c: Rename update_gshadow() => update_gshadow_file()

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar 2024-05-17 02:11:22 +02:00 committed by Iker Pedrosa
parent b089a63ab3
commit 81bc78ec5c

View File

@ -181,7 +181,7 @@ NORETURN static void fail_exit (int);
static void update_group_file(void);
#ifdef SHADOWGRP
static void update_gshadow (void);
static void update_gshadow_file(void);
#endif
static void grp_update (void);
@ -798,7 +798,8 @@ update_group_file(void)
}
#ifdef SHADOWGRP
static void update_gshadow (void)
static void
update_gshadow_file(void)
{
bool changed;
const struct sgrp *sgrp;
@ -954,7 +955,7 @@ static void grp_update (void)
update_group_file();
#ifdef SHADOWGRP
if (is_shadow_grp) {
update_gshadow ();
update_gshadow_file();
}
#endif
}