From c416a033f95f1c4475d8dd320294d99495ffa0fc Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Thu, 13 Oct 2011 15:46:04 +0400 Subject: [PATCH] Rename execute_image to prepare_and_execute_image Signed-off-by: Pavel Emelyanov Signed-off-by: Cyrill Gorcunov --- cr-restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cr-restore.c b/cr-restore.c index 344ba6d18..e1caf6896 100644 --- a/cr-restore.c +++ b/cr-restore.c @@ -821,7 +821,7 @@ static int prepare_image_maps(int fd, int pid) return 0; } -static int execute_image(int pid) +static int prepare_and_execute_image(int pid) { char path[128], elf_path[128]; int fd, fd_new; @@ -1081,7 +1081,7 @@ static int restore_one_task(int pid) if (prepare_shmem(pid)) return 1; - return execute_image(pid); + return prepare_and_execute_image(pid); } static int do_child(void *arg)