Commit d4c62b6b authored by Pavel Emelyanov's avatar Pavel Emelyanov

proc_parse: Print vma start in hex

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 870bf2d5
...@@ -490,7 +490,7 @@ int parse_smaps(pid_t pid, struct vm_area_list *vma_area_list, bool use_map_file ...@@ -490,7 +490,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) && if (!S_ISREG(st_buf->st_mode) &&
!(S_ISCHR(st_buf->st_mode) && st_buf->st_rdev == DEVZERO)) { !(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; 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