From b0bcadd0ae7be50704e9008d538c5400284edcb1 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Tue, 3 Jan 2012 15:04:34 -0200 Subject: [PATCH] kmod-depmod: add missing trailing \n to log messages. --- tools/kmod-depmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/kmod-depmod.c b/tools/kmod-depmod.c index efc7b9d..cfe5aad 100644 --- a/tools/kmod-depmod.c +++ b/tools/kmod-depmod.c @@ -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; }