summaryrefslogtreecommitdiff
path: root/src/cgroups-agent.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-25 19:49:23 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-25 19:50:06 +0200
commit4cf5d6750704bb393b0d5dcb5ed4657810cff783 (patch)
tree3599443aab137851cd6f31fcaa5791d5f9d3e752 /src/cgroups-agent.c
parent50f74deea32476c3e19cda870857782576587d94 (diff)
dbus: simplify some dbus error messages a bit
Diffstat (limited to 'src/cgroups-agent.c')
-rw-r--r--src/cgroups-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgroups-agent.c b/src/cgroups-agent.c
index 92b56c5fbd..af458b25e4 100644
--- a/src/cgroups-agent.c
+++ b/src/cgroups-agent.c
@@ -49,7 +49,7 @@ int main(int argc, char *argv[]) {
dbus_error_free(&error);
if (!(bus = dbus_connection_open_private("unix:abstract=/org/freedesktop/systemd1/private", &error))) {
- log_error("Failed to get D-Bus connection: %s", error.message);
+ log_error("Failed to get D-Bus connection: %s", bus_error_message(&error));
goto finish;
}