[CRIU] [PATCH 1/2] file: More detailed error on cwd restore

Cyrill Gorcunov gorcunov at openvz.org
Wed Mar 20 05:31:28 EDT 2013


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/files.c b/files.c
index 5be2c85..aa2d8d1 100644
--- a/files.c
+++ b/files.c
@@ -820,6 +820,7 @@ int prepare_fs(int pid)
 
 	cwd = open_reg_by_id(fe->cwd_id);
 	if (cwd < 0) {
+		pr_err("Can't open root %#x\n", fe->cwd_id);
 		close_safe(&ifd);
 		goto err;
 	}
-- 
1.8.1.4



More information about the CRIU mailing list