diff options
Diffstat (limited to 'src/localed.c')
-rw-r--r-- | src/localed.c | 2 |
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; } |