Commit caca5daa authored by Pavel Emelyanov's avatar Pavel Emelyanov

proc-parse: Fix mapping address print format

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1eb22125
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment