count = bt_component_factory_get_component_class_count(factory);
if (count <= 0) {
- fprintf(stderr, "No component classes found. Please make sure your plug-in search path is set correctly.");
+ fprintf(stderr, "No component classes found. Please make sure your plug-in search path is set correctly.\n");
return;
}
stat_ret = stat(file_path, &st);
if (stat_ret < 0) {
/* Continue to next file / directory. */
- printf_perror("Failed to stat() plugin file");
+ printf_perror("Failed to stat() plugin file\n");
continue;
}
struct bt_plugin *plugin = bt_component_class_get_plugin(
component_class);
- printf_warning("Duplicate component class registration attempted. Component class %s being registered by plugin %s (path: %s) conflicts with one already registered by plugin %s (path: %s)",
+ printf_warning("Duplicate component class registration attempted. Component class %s being registered by plugin %s (path: %s) conflicts with one already registered by plugin %s (path: %s)\n",
name, bt_plugin_get_name(factory->current_plugin),
bt_plugin_get_path(factory->current_plugin),
bt_plugin_get_name(plugin),
if (!g_module_symbol(module, PLUGIN_SYMBOL_NAME,
(gpointer *) &plugin->name)) {
- printf_error("Unable to resolve plugin symbol %s from %s",
+ printf_verbose("Unable to resolve plugin symbol %s from %s\n",
PLUGIN_SYMBOL_NAME, g_module_name(module));
goto error;
}
if (!g_module_symbol(module, PLUGIN_SYMBOL_LICENSE,
(gpointer *) &plugin->license)) {
- printf_error("Unable to resolve plugin symbol %s from %s",
+ printf_verbose("Unable to resolve plugin symbol %s from %s\n",
PLUGIN_SYMBOL_LICENSE, g_module_name(module));
goto error;
}