1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00
This commit is contained in:
Yu Watanabe 2021-05-15 01:59:23 +09:00 committed by Frantisek Sumsal
parent d47f96b4ef
commit 4301cb32f2
2 changed files with 2 additions and 2 deletions

View 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,

View 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) */