2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

Rename execute_image to prepare_and_execute_image

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Pavel Emelyanov 2011-10-13 15:46:04 +04:00 committed by Cyrill Gorcunov
parent 640e5c46be
commit c416a033f9

View File

@ -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)