Commit 3b33e16f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

mem: Fix typo in detect_pid_reuse

*** CID 190172:  Uninitialized variables  (UNINIT)
/criu/mem.c: 325 in detect_pid_reuse()
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 54858b13
......@@ -323,7 +323,7 @@ static int detect_pid_reuse(struct pstree_item *item,
if (pps->start_time >= dump_ticks) {
/* Print "*" if unsure */
pr_warn("Pid reuse%s detected for pid %d\n",
pps_buf.start_time == dump_ticks ? "*" : "",
pps->start_time == dump_ticks ? "*" : "",
item->pid->real);
return 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