]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 14 May 2021 16:59:23 +0000 (01:59 +0900)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 14 May 2021 17:51:37 +0000 (19:51 +0200)
src/nss-systemd/userdb-glue.c
src/resolve/resolved-manager.c

index f7df30f906c8c868a17070922a7f348c3e56c8e7..a55790f641b0e4f0ad6e2513ef6f17743f773d1b 100644 (file)
@@ -152,7 +152,7 @@ int nss_pack_user_record_shadow(
 
         *spwd = (struct spwd) {
                 .sp_namp = buffer,
-                .sp_lstchg = hr->last_password_change_usec == 0 ? 1 :               /* map 0 to 1, since 0 means please change pasword on next login */
+                .sp_lstchg = hr->last_password_change_usec == 0 ? 1 :               /* map 0 to 1, since 0 means please change password on next login */
                              hr->last_password_change_usec == UINT64_MAX ? -1 :
                              (long int) (hr->last_password_change_usec / USEC_PER_DAY),
                 .sp_min = hr->password_change_min_usec != UINT64_MAX ? (long int) (hr->password_change_min_usec / USEC_PER_DAY) : -1,
index ed5d41a5e853ff417fdd97153dd0ae1bb6088827..246e2d9db7cf6811a60ddf4f89b8e85dc4d324e8 100644 (file)
@@ -1098,7 +1098,7 @@ uint32_t manager_find_mtu(Manager *m) {
         Link *l;
 
         /* If we don't know on which link a DNS packet would be delivered, let's find the largest MTU that
-         * works on all interfaces we know of that have an IP address asociated */
+         * works on all interfaces we know of that have an IP address associated */
 
         HASHMAP_FOREACH(l, m->links) {
                 /* Let's filter out links without IP addresses (e.g. AF_CAN links and suchlike) */