[CRIU] [PATCH] files-reg: Show ghost file name on error
Cyrill Gorcunov
gorcunov at openvz.org
Thu Jun 27 15:03:23 EDT 2013
| Can't open ghost file /tmp/file_aio.cRgOVJ.cr.169.ghost: File exists
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
files-reg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files-reg.c b/files-reg.c
index 9acd815..237a92d 100644
--- a/files-reg.c
+++ b/files-reg.c
@@ -101,7 +101,7 @@ static int open_remap_ghost(struct reg_file_info *rfi,
gfd = open(gf->remap.path, ghost_flags, gfe->mode);
if (gfd < 0) {
- pr_perror("Can't open ghost file");
+ pr_perror("Can't open ghost file %s", gf->remap.path);
goto close_ifd;
}
--
1.8.1.4
More information about the CRIU
mailing list