summaryrefslogtreecommitdiff
path: root/src/systemd-cgls/cgls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-cgls/cgls.c')
-rw-r--r--src/systemd-cgls/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd-cgls/cgls.c b/src/systemd-cgls/cgls.c
index b8703e7f17..818f3a6873 100644
--- a/src/systemd-cgls/cgls.c
+++ b/src/systemd-cgls/cgls.c
@@ -166,7 +166,7 @@ static int get_cgroup_root(char **ret) {
static void show_cg_info(const char *controller, const char *path) {
- if (cg_unified() <= 0 && controller && !streq(controller, SYSTEMD_CGROUP_CONTROLLER))
+ if (cg_all_unified() <= 0 && controller && !streq(controller, SYSTEMD_CGROUP_CONTROLLER))
printf("Controller %s; ", controller);
printf("Control group %s:\n", isempty(path) ? "/" : path);