summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMichael Biebl <mbiebl@gmail.com>2016-07-12 12:52:11 +0200
committerLennart Poettering <lennart@poettering.net>2016-07-12 12:52:11 +0200
commit595bfe7df2999cfb99b274ce510695aed4aba6d5 (patch)
treeaa62c48d1ad662171930306e6af077626350937b /src/core
parent037a3ded54f72338fc95285d7971b61f695e3c1a (diff)
Various fixes for typos found by lintian (#3705)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cgroup.c2
-rw-r--r--src/core/unit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c
index 2ba1627b85..94d1161605 100644
--- a/src/core/cgroup.c
+++ b/src/core/cgroup.c
@@ -1136,7 +1136,7 @@ int unit_watch_cgroup(Unit *u) {
/* Only applies to the unified hierarchy */
r = cg_unified();
if (r < 0)
- return log_unit_error_errno(u, r, "Failed detect wether the unified hierarchy is used: %m");
+ return log_unit_error_errno(u, r, "Failed detect whether the unified hierarchy is used: %m");
if (r == 0)
return 0;
diff --git a/src/core/unit.c b/src/core/unit.c
index 1479d06606..fdf7ce3af3 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1683,7 +1683,7 @@ static void unit_check_unneeded(Unit *u) {
if (unit_active_or_pending(other))
return;
- /* If stopping a unit fails continously we might enter a stop
+ /* If stopping a unit fails continuously we might enter a stop
* loop here, hence stop acting on the service being
* unnecessary after a while. */
if (!ratelimit_test(&u->auto_stop_ratelimit)) {
@@ -1728,7 +1728,7 @@ static void unit_check_binds_to(Unit *u) {
if (!stop)
return;
- /* If stopping a unit fails continously we might enter a stop
+ /* If stopping a unit fails continuously we might enter a stop
* loop here, hence stop acting on the service being
* unnecessary after a while. */
if (!ratelimit_test(&u->auto_stop_ratelimit)) {