summaryrefslogtreecommitdiff
path: root/src/cgls
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgls')
-rw-r--r--src/cgls/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index 939a391e21..e09adb8b5b 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -197,7 +197,7 @@ static int run(int argc, char *argv[]) {
arg_show_unit == SHOW_UNIT_USER,
&bus);
if (r < 0)
- return log_error_errno(r, "Failed to create bus connection: %m");
+ return bus_log_connect_error(r);
}
q = show_cgroup_get_unit_path_and_warn(bus, *name, &cgroup);