[CRIU] [PATCH 3/6] restore: Open /proc/self/maps via helpers
Pavel Emelyanov
xemul at parallels.com
Thu Jun 5 09:15:59 PDT 2014
Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
proc_parse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proc_parse.c b/proc_parse.c
index e9fef08..c6076d7 100644
--- a/proc_parse.c
+++ b/proc_parse.c
@@ -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;
--
1.8.4.2
More information about the CRIU
mailing list