]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix two typos
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 1 Mar 2020 11:24:25 +0000 (12:24 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 1 Mar 2020 11:24:25 +0000 (12:24 +0100)
src/home/home-util.c
src/nss-systemd/nss-systemd.c

index 132e54b39b80355cdc09e30dc83a4ff7f207b5b2..a53b0d33913f22d7dbf250fb7214d742d0b9b691 100644 (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. */
index 34f886a8cc5025c322a3d68c60edde28984b2d28..9c004616f599a6d5e4bd384248ecf9ae40f328bc 100644 (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)) {