[CRIU] [PATCH] dump: collect_mappings -- Fix message text

Cyrill Gorcunov gorcunov at openvz.org
Tue Jan 28 12:37:53 PST 2014


@vma_area_list::longest is in pages not bytes.

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

diff --git a/cr-dump.c b/cr-dump.c
index 9476cd16eaed..af5abd1c9478 100644
--- a/cr-dump.c
+++ b/cr-dump.c
@@ -135,7 +135,7 @@ int collect_mappings(pid_t pid, struct vm_area_list *vma_area_list)
 	if (ret < 0)
 		goto err;
 
-	pr_info("Collected, longest ares %lu bytes\n", vma_area_list->longest);
+	pr_info("Collected, longest area occupies %lu pages\n", vma_area_list->longest);
 	pr_info_vma_list(&vma_area_list->h);
 
 	pr_info("----------------------------------------\n");
-- 
1.8.3.1



More information about the CRIU mailing list