mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-27 03:53:59 +08:00
src/usermod.c: Rename update_gshadow() => update_gshadow_file()
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
b089a63ab3
commit
81bc78ec5c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user