mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
proc: Make parse_maps return the amount of them found
Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
committed by
Cyrill Gorcunov
parent
e94c85fe6e
commit
fc225709b0
@@ -1661,7 +1661,7 @@ static void sigreturn_restore(pid_t pid)
|
||||
|
||||
ret = parse_maps(pid, &self_vma_list, false);
|
||||
close_pid_proc();
|
||||
if (ret)
|
||||
if (ret < 0)
|
||||
goto err;
|
||||
|
||||
/* pr_info_vma_list(&self_vma_list); */
|
||||
|
Reference in New Issue
Block a user