2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

restore: Open /proc/self/maps via helpers

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Andrew Vagin <avagin@parallels.com>
This commit is contained in:
Pavel Emelyanov
2014-06-05 20:15:59 +04:00
parent 8644ce9628
commit 0066d5e813

View File

@@ -243,7 +243,7 @@ int parse_self_maps_lite(struct vm_area_list *vms)
vm_area_list_init(vms);
maps = fopen("/proc/self/maps", "r");
maps = fopen_proc(PROC_SELF, "maps");
if (maps == NULL) {
pr_perror("Can't open self maps");
return -1;