Add missing line-feeds in logging
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Oct 2016 23:08:34 +0000 (19:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:06 +0000 (14:09 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
converter/babeltrace.c
lib/plugin-system/component-factory.c
lib/plugin-system/plugin.c

index d619066d84b5722720200be4cd72b3eddee09729..88d8423ec043b431444f6df7795744e01e69ca29 100644 (file)
@@ -67,7 +67,7 @@ void print_component_classes_found(struct bt_component_factory *factory)
 
        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;
        }
 
index 471b4b877a26b350ce261c83a8a1f345e40019f9..c5ac08abdb610b561d76060613753a721da50e70 100644 (file)
@@ -216,7 +216,7 @@ bt_component_factory_load_dir(struct bt_component_factory *factory,
                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;
                }
 
@@ -465,7 +465,7 @@ add_component_class(struct bt_component_factory *factory, const char *name,
                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),
index d6aca93356afc00ed108bb92472fd21afaca43a5..295140c08581dbca2eb976828cc7f881e8298391 100644 (file)
@@ -85,14 +85,14 @@ struct bt_plugin *bt_plugin_create_from_module(GModule *module,
 
        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;
        }
This page took 0.027703 seconds and 4 git commands to generate.