[CRIU] [PATCH] files: Fix compilation on PI (a2)

Pavel Emelyanov xemul at parallels.com
Wed Jun 25 05:08:21 PDT 2014


On 06/25/2014 03:53 PM, Andrew Vagin wrote:
> 
> Signed-off-by: Andrew Vagin <avagin 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 16ddbc3..cfe52d1 100644
> --- a/files-reg.c
> +++ b/files-reg.c
> @@ -702,7 +702,7 @@ int open_path(struct file_desc *d,
>  		if (st.st_size != rfi->rfe->size) {
>  			pr_err("File %s has bad size %"PRIu64" (expect %"PRIu64")\n",
>  					rfi->path, st.st_size,
> -					(unsigned long)rfi->rfe->size);
> +					rfi->rfe->size);
>  			return -1;
>  		}
>  
> 

applied


More information about the CRIU mailing list