Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKir Kolyshkin <kir@openvz.org>2017-05-16 07:17:08 +0300
committerAndrei Vagin <avagin@virtuozzo.com>2017-07-18 09:34:44 +0300
commitbeda098364d3ebb842bfc427bd0b8ec67c056ce2 (patch)
treee029db7bec4403d009244f172282a29e1dfd4982 /compel/src
parent5cac11310f223719ab4a457f5cb90c064f07cd0d (diff)
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 <kir@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'compel/src')
-rw-r--r--compel/src/main.c2
1 files changed, 1 insertions, 1 deletions
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;
}