]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
kmod-depmod: add missing trailing \n to log messages.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Tue, 3 Jan 2012 17:04:34 +0000 (15:04 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Tue, 3 Jan 2012 17:04:34 +0000 (15:04 -0200)
tools/kmod-depmod.c

index efc7b9d67a05870746558de2788740729e147921..cfe5aad2e93f4fafd102d6d3f71d57de9dbb1fd8 100644 (file)
@@ -748,7 +748,7 @@ static int cfg_file_parse(struct cfg *cfg, const char *filename)
        fp = fopen(filename, "r");
        if (fp == NULL) {
                err = -errno;
-               ERR("file parse %s: %m", filename);
+               ERR("file parse %s: %m\n", filename);
                return err;
        }
 
@@ -2696,7 +2696,7 @@ static int do_depmod(int argc, char *argv[])
                        struct kmod_module *mod;
 
                        if (path[0] != '/') {
-                               CRIT("%s: not absolute path.", path);
+                               CRIT("%s: not absolute path.\n", path);
                                goto cmdline_modules_failed;
                        }