[CRIU] [PATCH 2/2] cr-check: Make compat_cr warning arch-independent

Dmitry Safonov dsafonov at virtuozzo.com
Tue Jul 25 15:35:47 MSK 2017


I think, we should warn a user when we can't C/R compatible
applications. That's valid for different than x86 archs.
Let's correct the message the way it'll suit non-x86.

Reported-by: Adrian Reber <areber at redhat.com>
Signed-off-by: Dmitry Safonov <dsafonov 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 512ea878119d..cf200d3cfbcb 100644
--- a/criu/cr-check.c
+++ b/criu/cr-check.c
@@ -1041,7 +1041,7 @@ static int check_compat_cr(void)
 		return 0;
 	pr_warn("compat_cr is not supported. Requires kernel >= v4.12\n");
 #else
-	pr_warn("CRIU built without CONFIG_COMPAT - can't C/R ia32\n");
+	pr_warn("CRIU built without CONFIG_COMPAT - can't C/R compatible tasks\n");
 #endif
 	return -1;
 }
-- 
2.13.3



More information about the CRIU mailing list