mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 09:10:10 +00:00
restorer: make messages readable
Signed-off-by: Andrey Vagin <avagin@openvz.org> Acked-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
31fb055220
commit
476fbbb6f8
1 changed files with 2 additions and 2 deletions
|
|
@ -504,11 +504,11 @@ long restore_task(struct task_restore_core_args *args)
|
|||
sys_close(fd);
|
||||
}
|
||||
|
||||
write_num_n(__LINE__);
|
||||
task_entry = task_get_entry(args->task_entries, my_pid);
|
||||
cr_wait_set(&task_entry->done, 1);
|
||||
write_num(sys_getpid());
|
||||
write_string_n(": Restored");
|
||||
cr_wait_while(&args->task_entries->start, 0);
|
||||
write_num_n(__LINE__);
|
||||
|
||||
ret = sys_munmap(args->task_entries, TASK_ENTRIES_SIZE);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue