diff options
author | Gustavo F. Padovan <gustavo@padovan.org> | 2010-05-21 12:54:54 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-05-21 18:21:48 +0200 |
commit | 8e58667ef0a4cda88ac64137728da28d8fdf3f0f (patch) | |
tree | a7778a0bfb31d326f08060d82ea026bbb03d49f5 /src/plugin.c | |
parent | 9f71c68cc547f56c343d04f9c96d6fb27bde5050 (diff) | |
download | bluez-8e58667ef0a4cda88ac64137728da28d8fdf3f0f.tar.gz |
Move debug() to DBG()
Use the new dynamic debug feature
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugin.c b/src/plugin.c index 28b9cceed..a63ce8e5a 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -67,7 +67,7 @@ static gboolean add_plugin(void *handle, struct bluetooth_plugin_desc *desc) return FALSE; } - debug("Loading %s plugin", desc->name); + DBG("Loading %s plugin", desc->name); plugin = g_try_new0(struct bluetooth_plugin, 1); if (plugin == NULL) @@ -130,7 +130,7 @@ gboolean plugin_init(GKeyFile *config) else disabled = NULL; - debug("Loading builtin plugins"); + DBG("Loading builtin plugins"); for (i = 0; __bluetooth_builtin[i]; i++) { if (is_disabled(__bluetooth_builtin[i]->name, disabled)) @@ -144,7 +144,7 @@ gboolean plugin_init(GKeyFile *config) goto start; } - debug("Loading plugins %s", PLUGINDIR); + DBG("Loading plugins %s", PLUGINDIR); dir = g_dir_open(PLUGINDIR, 0, NULL); if (!dir) { @@ -210,7 +210,7 @@ void plugin_cleanup(void) { GSList *list; - debug("Cleanup plugins"); + DBG("Cleanup plugins"); for (list = plugins; list; list = list->next) { struct bluetooth_plugin *plugin = list->data; |