[CRIU] [PATCH] restore: Fix function name called during API change

Cyrill Gorcunov gorcunov at openvz.org
Tue Jul 9 06:01:44 EDT 2013


In commit 402707107f4543968287acd025cde7e0525ef619 rst
memory API has been changed but patch for rlimits has
been created earlier than this change.

Update function name otherwise criu won't compile.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-restore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cr-restore.c b/cr-restore.c
index 935605d..20e6f41 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -2212,7 +2212,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
 
 	task_args->nr_rlim = nr_rlim;
 	if (nr_rlim)
-		task_args->rlims = rst_mem_raddr(rlimits_rst_addr);
+		task_args->rlims = rst_mem_addr(rlimits_rst_addr);
 
 	/*
 	 * Fill up per-thread data.
-- 
1.8.1.4



More information about the CRIU mailing list