diff options
Diffstat (limited to 'src/timedated.c')
-rw-r--r-- | src/timedated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedated.c b/src/timedated.c index a6ec26276b..097e0a00c2 100644 --- a/src/timedated.c +++ b/src/timedated.c @@ -532,7 +532,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; } |