From: Philippe Proulx Date: Fri, 5 May 2017 17:55:51 +0000 (-0400) Subject: Do not use printf_warning() in the library X-Git-Tag: v2.0.0-pre1~313 X-Git-Url: https://git.efficios.com/?a=commitdiff_plain;h=1aec753b3c82eebcb343a19f056db2a780524186;p=babeltrace.git Do not use printf_warning() in the library Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/lib/plugin/plugin.c b/lib/plugin/plugin.c index c5dfd033..4a36fd69 100644 --- a/lib/plugin/plugin.c +++ b/lib/plugin/plugin.c @@ -60,7 +60,7 @@ void init_python_plugin_provider(void) { g_module_open(PYTHON_PLUGIN_PROVIDER_FILENAME, G_MODULE_BIND_LOCAL); if (!python_plugin_provider_module) { - printf_warning("Cannot find `%s`: Python plugin support is disabled\n", + printf_verbose("Cannot find `%s`: Python plugin support is disabled\n", PYTHON_PLUGIN_PROVIDER_FILENAME); return; } @@ -68,7 +68,7 @@ void init_python_plugin_provider(void) { if (!g_module_symbol(python_plugin_provider_module, PYTHON_PLUGIN_PROVIDER_SYM_NAME_STR, (gpointer) &bt_plugin_python_create_all_from_file_sym)) { - printf_warning("Cannot find the Python plugin provider loading symbole: Python plugin support is disabled\n"); + printf_verbose("Cannot find the Python plugin provider loading symbole: Python plugin support is disabled\n"); } }