[CRIU] [PATCH] files-reg: Show ghost file name on error
Pavel Emelyanov
xemul at parallels.com
Mon Jul 1 08:39:19 EDT 2013
On 06/28/2013 02:03 AM, Cyrill Gorcunov wrote:
> | 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;
> }
>
>
Applied
More information about the CRIU
mailing list