Commit a411c8f2 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

restore: don't use an uninitialized variable

The global variable me isn't initialized, when we tried to use it.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3b21f727
...@@ -601,7 +601,7 @@ static int restore_task_with_children(void *_arg) ...@@ -601,7 +601,7 @@ static int restore_task_with_children(void *_arg)
pid = getpid(); pid = getpid();
if (ca->pid != pid) { if (ca->pid != pid) {
pr_err("%d: Pid do not match expected %d\n", me->pid, ca->pid); pr_err("Pid %d do not match expected %d\n", pid, ca->pid);
exit(-1); exit(-1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment