summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-02-17 16:17:48 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2007-02-17 20:35:39 +0200
commite9a2cc7d9fcc73e16576be2522522cce675dc3f3 (patch)
tree294b640367fa1e3ac64b2e1f05e42e120a60ae30 /config
parent81876bc5ddc2f3eda5078fe4bd101917fb32e586 (diff)
config: error message cleanup
Demote failure to connect from ErrorF to DebugF.
Diffstat (limited to 'config')
-rw-r--r--config/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/config.c b/config/config.c
index 76191abd4..6c4014352 100644
--- a/config/config.c
+++ b/config/config.c
@@ -303,15 +303,15 @@ configSetup(void)
if (!configData)
configData = (struct config_data *) xcalloc(sizeof(struct config_data), 1);
if (!configData) {
- ErrorF("[dbus] failed to allocate data struct.\n");
+ ErrorF("[dbus] failed to allocate data struct\n");
return FALSE;
}
dbus_error_init(&error);
configData->connection = dbus_bus_get(DBUS_BUS_SYSTEM, &error);
if (!configData->connection || dbus_error_is_set(&error)) {
- ErrorF("[dbus] some kind of error occurred: %s (%s)\n", error.name,
- error.message);
+ DebugF("[dbus] some kind of error occurred while connecting: %s (%s)\n",
+ error.name, error.message);
dbus_error_free(&error);
xfree(configData);
configData = NULL;