diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-19 15:36:56 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-22 11:52:31 -0500 |
commit | a4464b952238cdcdab64f3dadb288700dcd25065 (patch) | |
tree | 4380561e976751a42b5b3f7bd7a5e84dca1f2310 /src/basic | |
parent | f98220a22ff0c48805ae636a380571a177824500 (diff) |
Rename cg_is_unified_systemd_controller_wanted to cg_is_hybrid_wanted
Less typing and doesn't make the table so incredibly wide.
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/cgroup-util.c | 2 | ||||
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c index f80b6cacfb..0b8bda89ea 100644 --- a/src/basic/cgroup-util.c +++ b/src/basic/cgroup-util.c @@ -2432,7 +2432,7 @@ bool cg_is_legacy_wanted(void) { return !cg_is_unified_wanted(); } -bool cg_is_unified_systemd_controller_wanted(void) { +bool cg_is_hybrid_wanted(void) { static thread_local int wanted = -1; int r; bool b; diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 5a82de71fe..3d14ec3d9d 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -247,7 +247,7 @@ int cg_unified_flush(void); bool cg_is_unified_wanted(void); bool cg_is_legacy_wanted(void); -bool cg_is_unified_systemd_controller_wanted(void); +bool cg_is_hybrid_wanted(void); const char* cgroup_controller_to_string(CGroupController c) _const_; CGroupController cgroup_controller_from_string(const char *s) _pure_; |