[CRIU] [crtools-bot for Cyrill Gorcunov ] parasite: Print detailed error

Cyrill Gorcunov gorcunov at openvz.org
Thu Feb 16 13:05:55 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit fb886b7de96912dbc2758dae968a82414def636b
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Thu Feb 16 21:54:49 2012 +0400

    parasite: Print detailed error
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 parasite-syscall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/parasite-syscall.c b/parasite-syscall.c
index 828e3a2..281cc69 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -244,6 +244,10 @@ static int parasite_execute(unsigned long cmd, struct parasite_ctl *ctl,
 	if (!ret)
 		ret = args->ret;
 
+	if (ret)
+		pr_err("Parasite exited with %d ret (%li at %li)\n",
+		       ret, args->sys_ret, args->line);
+
 	return ret;
 }
 


More information about the CRIU mailing list