Add missing line-feeds in logging
[babeltrace.git] / lib / plugin-system / component-factory.c
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),
This page took 0.029604 seconds and 4 git commands to generate.