diff options
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r-- | src/cgls/cgls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index 61e0a67b83..7c7ea18b61 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -149,7 +149,7 @@ static void show_cg_info(const char *controller, const char *path) { if (cg_all_unified() == 0 && controller && !streq(controller, SYSTEMD_CGROUP_CONTROLLER)) printf("Controller %s; ", controller); - printf("Control group %s:\n", isempty(path) ? "/" : path); + printf("Control group %s:\n", empty_to_root(path)); fflush(stdout); } |