[CRIU] [PATCH 2/2] restore: Update error message in map_private_vma

Cyrill Gorcunov gorcunov at openvz.org
Wed Mar 20 05:31:29 EDT 2013


"Can't fixup VMA's fd" is more understandable than plain
"Can't fixup fd".

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-restore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cr-restore.c b/cr-restore.c
index 6c0b5ae..2922f37 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;
-- 
1.8.1.4



More information about the CRIU mailing list