[CRIU] [PATCH] files-reg: fix compilation issues

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Mon Dec 21 02:14:25 PST 2015


Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 files-reg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files-reg.c b/files-reg.c
index 082c9d7..9aa2481 100644
--- a/files-reg.c
+++ b/files-reg.c
@@ -152,7 +152,7 @@ static int create_ghost(struct ghost_file *gf, GhostFileEntry *gfe, struct cr_im
 	}
 
 	if (fchmod(gfd, gfe->mode)) {
-		pr_perror("Can't set perms %o on ghost %s", perms, filename);
+		pr_perror("Can't set perms %o on ghost %s", gfe->mode, path);
 		goto err_c;
 	}
 



More information about the CRIU mailing list