summaryrefslogtreecommitdiff
path: root/src/core/cgroup.c
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2019-04-26 20:22:40 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-29 16:47:18 +0200
commit5238e9575906297608ff802a27e2ff9effa3b338 (patch)
treee17c534a09908167a0697a49ed3237f43134eb4c /src/core/cgroup.c
parent51aba17b88617515e037e8985d3a4ea871ac47fe (diff)
downloadsystemd-5238e9575906297608ff802a27e2ff9effa3b338.tar.gz
codespell: fix spelling errors
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r--src/core/cgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c
index bf9b633245..6cab4b5ee0 100644
--- a/src/core/cgroup.c
+++ b/src/core/cgroup.c
@@ -1144,7 +1144,7 @@ static void cgroup_context_apply(
}
}
- /* The bandwith limits are something that make sense to be applied to the host's root but not container
+ /* The bandwidth limits are something that make sense to be applied to the host's root but not container
* roots, as there we want the container manager to handle it */
if (is_host_root || !is_local_root) {
if (has_io) {
@@ -1310,7 +1310,7 @@ static void cgroup_context_apply(
* it also counts. But if the user never set a limit through us (i.e. we are the default of
* "unbounded") we leave things unmodified. For this we manage a global boolean that we turn on
* the first time we set a limit. Note that this boolean is flushed out on manager reload,
- * which is desirable so that there's an offical way to release control of the sysctl from
+ * which is desirable so that there's an official way to release control of the sysctl from
* systemd: set the limit to unbounded and reload. */
if (c->tasks_max != CGROUP_LIMIT_MAX) {