summaryrefslogtreecommitdiff
path: root/src/cgls/cgls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r--src/cgls/cgls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index e6ec9640a8..1d21c1c20c 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -154,7 +154,7 @@ int main(int argc, char *argv[]) {
_cleanup_free_ char *root = NULL;
int i;
- r = show_cgroup_get_root_and_warn(arg_machine, &root);
+ r = show_cgroup_get_path_and_warn(arg_machine, NULL, &root);
if (r < 0)
goto finish;
@@ -223,7 +223,7 @@ int main(int argc, char *argv[]) {
if (!done) {
_cleanup_free_ char *root = NULL;
- r = show_cgroup_get_root_and_warn(arg_machine, &root);
+ r = show_cgroup_get_path_and_warn(arg_machine, NULL, &root);
if (r < 0)
goto finish;