summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-01 12:24:25 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-01 12:24:25 +0100
commit3e93027b5b94bb3bb144f699bdb1a7bcbb6ee197 (patch)
tree920e563c46abc2b4645560497fc3ad4d0f472e46
parent8ad2012d1e017939bb50a6c8ac09ebec9f08dee7 (diff)
downloadsystemd-3e93027b5b94bb3bb144f699bdb1a7bcbb6ee197.tar.gz
Fix two typos
-rw-r--r--src/home/home-util.c2
-rw-r--r--src/nss-systemd/nss-systemd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/home/home-util.c b/src/home/home-util.c
index 132e54b39b..a53b0d3391 100644
--- a/src/home/home-util.c
+++ b/src/home/home-util.c
@@ -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. */
diff --git a/src/nss-systemd/nss-systemd.c b/src/nss-systemd/nss-systemd.c
index 34f886a8cc..9c004616f5 100644
--- a/src/nss-systemd/nss-systemd.c
+++ b/src/nss-systemd/nss-systemd.c
@@ -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)) {