[CRIU] [PATCH] compel: be silent if no errors

Kir Kolyshkin kir at openvz.org
Mon May 15 21:17:08 PDT 2017


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 at openvz.org>
---
 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 4f53e7e..1171478 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;
 }
 
-- 
2.9.3



More information about the CRIU mailing list