summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-04-26 11:08:07 +0200
committerGitHub <noreply@github.com>2021-04-26 11:08:07 +0200
commitbb35478bf9a81171e76a31916531d18576d4bca6 (patch)
tree0ee56c99d51bdb6d1754877a753b23744b9251c0
parentnetwork: add missing sections (diff)
parentcore/service: fix typo (diff)
downloadsystemd-bb35478bf9a81171e76a31916531d18576d4bca6.tar.xz
systemd-bb35478bf9a81171e76a31916531d18576d4bca6.zip
Merge pull request #19421 from yuwata/fix-typo
core, network: Fix typo
-rw-r--r--src/core/service.c2
-rw-r--r--src/network/networkd-dhcp6.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/service.c b/src/core/service.c
index d5f79d274e..3f8941c1cb 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -3480,7 +3480,7 @@ static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) {
if (control_pid_good(s) <= 0)
service_enter_stop(s, f);
- /* Otherwise need to wait untill the operation is done. */
+ /* Otherwise need to wait until the operation is done. */
break;
case SERVICE_STOP:
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c
index f4b309636f..b13a635a78 100644
--- a/src/network/networkd-dhcp6.c
+++ b/src/network/networkd-dhcp6.c
@@ -888,7 +888,7 @@ static int dhcp6_pd_prefix_add(Link *link, const union in_addr_union *prefix, ui
"DHCP6: received PD Prefix %s%s",
strna(buf),
prefixlen > 64 ? " with prefix length > 64, ignoring." :
- prefixlen < 48 ? " with prefix lenght < 48, looks unusual.": "");
+ prefixlen < 48 ? " with prefix length < 48, looks unusual.": "");
/* Store PD prefix even if prefixlen > 64, not to make logged at warning level so frequently. */
r = set_ensure_put(&link->dhcp6_pd_prefixes, &in_addr_prefix_hash_ops_free, p);