Commit b7960d77 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

restore: Update error message in map_private_vma

"Can't fixup VMA's fd" is more understandable than plain
"Can't fixup fd".
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 31122183
......@@ -196,7 +196,7 @@ static int map_private_vma(pid_t pid, struct vma_area *vma, void *tgt_addr,
if (vma_entry_is(&vma->vma, VMA_FILE_PRIVATE)) {
ret = get_filemap_fd(pid, &vma->vma);
if (ret < 0) {
pr_err("Can't fixup fd\n");
pr_err("Can't fixup VMA's fd\n");
return -1;
}
vma->vma.fd = ret;
......
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