From b7960d77165e2b9719cceabf60410087a2df8a91 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 20 Mar 2013 13:31:29 +0400 Subject: [PATCH] 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 Signed-off-by: Pavel Emelyanov --- cr-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-restore.c b/cr-restore.c index b17524a51..21bdbfc28 100644 --- a/cr-restore.c +++ b/cr-restore.c @@ -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;