diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-24 18:00:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-24 18:00:04 +0100 |
commit | c22800e40e1709e4794308114543f6d6d419e4ae (patch) | |
tree | ba30e777016191d2e2bd48ea59f41345293e5c29 /src/core/manager.c | |
parent | b4cccbc13ad6f98bd8e816ce5fffb99f5be74c8c (diff) |
cgroup: rename cg_unified() → cg_unified_controller()
cg_unified() is a bit generic a name, let's make clear that it checks
whether a specified controller is in unified mode.
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 7a09ac1d6e..cff38e28de 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -776,7 +776,7 @@ static int manager_setup_cgroups_agent(Manager *m) { if (!MANAGER_IS_SYSTEM(m)) return 0; - r = cg_unified(SYSTEMD_CGROUP_CONTROLLER); + r = cg_unified_controller(SYSTEMD_CGROUP_CONTROLLER); if (r < 0) return log_error_errno(r, "Failed to determine whether unified cgroups hierarchy is used: %m"); if (r > 0) /* We don't need this anymore on the unified hierarchy */ |