X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fcgroup.c;h=ec53ce73f15e965853762526befd13b5efdd0498;hb=8ee75c221615585dff04159a6d51fe223e6d4d2f;hp=bf8bbf5801609d1760af9580c515fde3e4f8d042;hpb=fbd37e10b6350cbdef903319618399a8b6f7f23e;p=elogind.git diff --git a/src/core/cgroup.c b/src/core/cgroup.c index bf8bbf580..ec53ce73f 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -1081,7 +1081,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; @@ -1673,7 +1673,7 @@ int manager_setup_cgroup(Manager *m) { /* also, move all other userspace processes remaining * in the root cgroup into that scope. */ - r = cg_migrate(SYSTEMD_CGROUP_CONTROLLER, m->cgroup_root, SYSTEMD_CGROUP_CONTROLLER, scope_path, false); + r = cg_migrate(SYSTEMD_CGROUP_CONTROLLER, m->cgroup_root, SYSTEMD_CGROUP_CONTROLLER, scope_path, 0); if (r < 0) log_warning_errno(r, "Couldn't move remaining userspace processes, ignoring: %m");