[CRIU] [PATCH 1/3] page-xfer: make err-message reflect what realy happen

Pavel Emelyanov xemul at parallels.com
Mon Apr 14 04:17:12 PDT 2014


On 04/09/2014 01:34 PM, Tikhomirov Pavel wrote:
> Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>
> ---
>  page-xfer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/page-xfer.c b/page-xfer.c
> index f26be35..56e8575 100644
> --- a/page-xfer.c
> +++ b/page-xfer.c
> @@ -658,7 +658,7 @@ static int open_page_local_xfer(struct page_xfer *xfer, int fd_type, long id)
>  
>  		ret = open_page_read_at(pfd, id, xfer->parent, O_RDWR, false);
>  		if (ret) {
> -			pr_perror("Can't dedup old image format");
> +			pr_perror("No parent image found, though parent directory is set");
>  			xfree(xfer->parent);
>  			xfer->parent = NULL;
>  			close(pfd);
> 


applied


More information about the CRIU mailing list