2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

proc-parse: Fix mapping address print format

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov 2012-11-02 13:53:21 +03:00
parent 1eb2212530
commit caca5daa84

View File

@ -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;
}
}