From caca5daa842f83c090b940186bc0fe4c269a525c Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Fri, 2 Nov 2012 13:53:21 +0300 Subject: [PATCH] proc-parse: Fix mapping address print format Signed-off-by: Pavel Emelyanov --- proc_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc_parse.c b/proc_parse.c index 5d305c5c0..75eb10ed1 100644 --- a/proc_parse.c +++ b/proc_parse.c @@ -175,7 +175,7 @@ int parse_smaps(pid_t pid, struct list_head *vma_area_list, bool use_map_files) vma_area->vm_file_fd = openat(dirfd(map_files_dir), path, O_RDONLY); if (vma_area->vm_file_fd < 0) { if (errno != ENOENT) { - pr_perror("Can't open %d's map %lu", pid, start); + pr_perror("Can't open %d's map %lx", pid, start); goto err; } }