summaryrefslogtreecommitdiff
path: root/src/localed.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-27 23:15:30 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-27 23:15:30 +0200
commita2e5283217b9e1e636ab3272e8d36e724a78cf6a (patch)
tree0308004a121f51d79af6130d2dcc394947b203de /src/localed.c
parentbf1009201de83bb8c511d3a40d6a499d57f0fda7 (diff)
dbus: use bus_error_message() where applicable
Diffstat (limited to 'src/localed.c')
-rw-r--r--src/localed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localed.c b/src/localed.c
index 353e88efbe..5efee0b2ac 100644
--- a/src/localed.c
+++ b/src/localed.c
@@ -529,7 +529,7 @@ static int connect_bus(DBusConnection **_bus) {
bus = dbus_bus_get_private(DBUS_BUS_SYSTEM, &error);
if (!bus) {
- log_error("Failed to get system D-Bus connection: %s", error.message);
+ log_error("Failed to get system D-Bus connection: %s", bus_error_message(&error));
r = -ECONNREFUSED;
goto fail;
}