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: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2013-03-20 13:31:29 +04:00 committed by Pavel Emelyanov
parent 31122183d2
commit b7960d7716

View file

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