dbus.c: fix warning in a_dbus_connect

This commit is contained in:
Daniel Hahler 2017-07-01 20:36:08 +02:00 committed by Daniel Hahler
parent 7bc45a5c4e
commit 719406ed5c
1 changed files with 1 additions and 1 deletions

2
dbus.c
View File

@ -610,7 +610,7 @@ a_dbus_connect(DBusBusType type, const char *type_name, GSourceFunc cb, GSource
dbus_connection = dbus_bus_get(type, &err); dbus_connection = dbus_bus_get(type, &err);
if(dbus_error_is_set(&err)) if(dbus_error_is_set(&err))
{ {
warn("D-Bus session bus %s failed: %s", type_name, err.message); warn("Could not connect to D-Bus %s bus: %s", type_name, err.message);
dbus_connection = NULL; dbus_connection = NULL;
dbus_error_free(&err); dbus_error_free(&err);
} }