From 31122183d2bd8ed6fcfcb763d760fea34aaa1cbb Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 20 Mar 2013 13:31:28 +0400 Subject: [PATCH] file: More detailed error on cwd restore Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- files.c | 1 + 1 file changed, 1 insertion(+) diff --git a/files.c b/files.c index 993ca618e..af8c08977 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; }