From beda098364d3ebb842bfc427bd0b8ec67c056ce2 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 15 May 2017 21:17:08 -0700 Subject: [PATCH] compel: be silent if no errors In case of success, we want to be silent when on default log level. This is a time-honored UNIX tradition, who we are to break it? Signed-off-by: Kir Kolyshkin Signed-off-by: Andrei Vagin --- compel/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compel/src/main.c b/compel/src/main.c index 4f53e7e5d..1171478cb 100644 --- a/compel/src/main.c +++ b/compel/src/main.c @@ -103,7 +103,7 @@ err: if (opts.fout) fclose(opts.fout); if (!ret) - printf("%s generated successfully.\n", opts.output_filename); + pr_info("%s generated successfully.\n", opts.output_filename); return ret; }