Commit 64d31150 authored by Stanislav Kinsburskiy's avatar Stanislav Kinsburskiy Committed by Pavel Emelyanov

files-reg: fix compilation issues

Signed-off-by: 's avatarStanislav Kinsburskiy <skinsbursky@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 66468976
...@@ -152,7 +152,7 @@ static int create_ghost(struct ghost_file *gf, GhostFileEntry *gfe, struct cr_im ...@@ -152,7 +152,7 @@ static int create_ghost(struct ghost_file *gf, GhostFileEntry *gfe, struct cr_im
} }
if (fchmod(gfd, gfe->mode)) { 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; goto err_c;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment