]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
add missing newline to log messages.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sun, 11 Dec 2011 21:42:02 +0000 (19:42 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sun, 11 Dec 2011 22:58:22 +0000 (20:58 -0200)
libkmod/libkmod-module.c
libkmod/libkmod.c

index dfb694d35e69f826c791d8186ff2b5d6cea03c69..620b2d50a77ced10fadd643e6f438e5658797125 100644 (file)
@@ -473,7 +473,7 @@ KMOD_EXPORT const char *kmod_module_get_path(const struct kmod_module *mod)
 {
        char *line;
 
-       DBG(mod->ctx, "name='%s' path='%s'", mod->name, mod->path);
+       DBG(mod->ctx, "name='%s' path='%s'\n", mod->name, mod->path);
 
        if (mod->path != NULL)
                return mod->path;
index 4ff6d342f8dc379c82af54ceb883d7d35110f61f..a23bbbdb65d344b7b84ab68368fb6591d8a38729 100644 (file)
@@ -441,7 +441,7 @@ char *kmod_search_moddep(struct kmod_ctx *ctx, const char *name)
 
        idx = index_file_open(fn);
        if (idx == NULL) {
-               ERR(ctx, "Could not open moddep file '%s'", fn);
+               ERR(ctx, "Could not open moddep file '%s'\n", fn);
                return NULL;
        }
 
@@ -500,7 +500,7 @@ int kmod_lookup_alias_from_config(struct kmod_ctx *ctx, const char *name,
 
                        err = kmod_module_new_from_name(ctx, modname, &mod);
                        if (err < 0) {
-                               ERR(ctx, "%s", strerror(-err));
+                               ERR(ctx, "%s\n", strerror(-err));
                                goto fail;
                        }