summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-28 19:29:33 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-31 13:20:44 +0200
commitcb88a0a4ae7e9a03edb8772b6e0d8d2fc79c9f6b (patch)
tree0f0a617711d3d58c44e92e4f6bbd8eeef4c55f58 /src
parenta6149b93afeb4e7b37e1313920ac2e0a91ff1c08 (diff)
cgls: print the expressive error message we have
Diffstat (limited to 'src')
-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 fae9398aa5..22f33f000d 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -160,7 +160,7 @@ static int get_cgroup_root(char **ret) {
&error,
ret);
if (r < 0)
- return log_error_errno(r, "Failed to query unit control group path: %m");
+ return log_error_errno(r, "Failed to query unit control group path: %s", bus_error_message(&error, r));
return 0;
}