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

Andrew Vagin avagin at openvz.org
Wed Jun 25 04:53:59 PDT 2014


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;
 		}
 
-- 
1.7.10.4



More information about the CRIU mailing list