[CRIU] [PATCH] files: Fix compilation on PI
Pavel Emelyanov
xemul at parallels.com
Wed Jun 25 03:13:04 PDT 2014
On 06/25/2014 12:47 PM, Andrey Vagin wrote:
> Signed-off-by: Andrey 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 f76116e..16ddbc3 100644
> --- a/files-reg.c
> +++ b/files-reg.c
> @@ -700,7 +700,7 @@ int open_path(struct file_desc *d,
> }
>
> if (st.st_size != rfi->rfe->size) {
> - pr_err("File %s has bad size %lu (expect %lu)\n",
> + pr_err("File %s has bad size %"PRIu64" (expect %"PRIu64")\n",
> rfi->path, st.st_size,
> (unsigned long)rfi->rfe->size);
> return -1;
>
applied
More information about the CRIU
mailing list