[CRIU] [PATCH 1/8] proc_parse: Print vma start in hex

Pavel Emelyanov xemul at parallels.com
Fri Oct 10 12:01:37 PDT 2014


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 proc_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proc_parse.c b/proc_parse.c
index 98fef4a..bfc6d86 100644
--- a/proc_parse.c
+++ b/proc_parse.c
@@ -489,7 +489,7 @@ int parse_smaps(pid_t pid, struct vm_area_list *vma_area_list, bool use_map_file
 
 			if (!S_ISREG(st_buf->st_mode) &&
 			    !(S_ISCHR(st_buf->st_mode) && st_buf->st_rdev == DEVZERO)) {
-				pr_err("Can't handle non-regular mapping on %d's map %lu\n", pid, start);
+				pr_err("Can't handle non-regular mapping on %d's map %#lx\n", pid, start);
 				goto err;
 			}
 
-- 
1.8.4.2




More information about the CRIU mailing list