[CRIU] [PATCH] cgroup: add \n to an error message

Andrey Vagin avagin at openvz.org
Mon Feb 29 09:15:08 PST 2016


From: Andrew Vagin <avagin at virtuozzo.com>

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 criu/cr-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/cr-check.c b/criu/cr-check.c
index a67ee2d..2896b02 100644
--- a/criu/cr-check.c
+++ b/criu/cr-check.c
@@ -830,7 +830,7 @@ static int check_cgroupns(void)
 
 	ret = access("/proc/self/ns/cgroup", F_OK);
 	if (ret < 0) {
-		pr_err("cgroupns not supported. This is not fatal.");
+		pr_err("cgroupns not supported. This is not fatal.\n");
 		return -1;
 	}
 
-- 
2.5.0



More information about the CRIU mailing list