Fix typos

Typos found with codespell.

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
This commit is contained in:
Samanta Navarro
2022-12-30 11:51:29 +00:00
committed by Serge Hallyn
parent 194014678e
commit b312bc0b4d
6 changed files with 11 additions and 11 deletions

View File

@@ -396,7 +396,7 @@ int main (int argc, char **argv)
(void) textdomain (PACKAGE);
/*
* Save my name for error messages and save my real gid incase of
* Save my name for error messages and save my real gid in case of
* errors. If there is an error i have to exec a new login shell for
* the user since her old shell won't have fork'd to create the
* process. Skip over the program name to the next command line
@@ -625,7 +625,7 @@ int main (int argc, char **argv)
}
#endif /* HAVE_SETGROUPS */
/*
* For splitted groups (due to limitations of NIS), check all
* For split groups (due to limitations of NIS), check all
* groups of the same GID like the requested group for
* membership of the current user.
*/

View File

@@ -409,7 +409,7 @@ static void get_defaults (void)
if (MATCH (buf, DGROUPS)) {
if (get_groups (cp) != 0) {
fprintf (stderr,
_("%s: the '%s' configuraton in %s has an invalid group, ignoring the bad group\n"),
_("%s: the '%s' configuration in %s has an invalid group, ignoring the bad group\n"),
Prog, DGROUPS, default_file);
}
if (user_groups[0] != NULL) {
@@ -2323,7 +2323,7 @@ static void create_home (void)
strcat (path, cp);
if (access (path, F_OK) != 0) {
/* Check if parent directory is BTRFS, fail if requesting
subvolume but no BTRFS. The paths cound be different by the
subvolume but no BTRFS. The paths could be different by the
trailing slash
*/
#if WITH_BTRFS