Fix two typos

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-03-01 12:24:25 +01:00
parent 8ad2012d1e
commit 3e93027b5b
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
bool suitable_user_name(const char *name) {
/* Checks whether the specified name is suitable for management via home aread. Note that client-side
/* Checks whether the specified name is suitable for management via homed. Note that client-side
* we usually validate with the simple valid_user_group_name(), while server-side we are a bit more
* restrictive, so that we can change the rules server-side without having to update things
* client-side too. */

View File

@ -195,7 +195,7 @@ enum nss_status _nss_systemd_getgrnam_r(
if (!valid_user_group_name(name))
return NSS_STATUS_NOTFOUND;
/* Synthesize records for root and nobody, in case they are missing form /etc/group */
/* Synthesize records for root and nobody, in case they are missing from /etc/group */
if (getenv_bool_secure("SYSTEMD_NSS_BYPASS_SYNTHETIC") <= 0) {
if (streq(name, root_group.gr_name)) {