[CRIU] [PATCH] files: Fix compilation on PI

Andrey Vagin avagin at openvz.org
Wed Jun 25 01:47:30 PDT 2014


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;
-- 
1.8.5.3



More information about the CRIU mailing list