Commit ddd837d9 authored by Pavel Emelyanov's avatar Pavel Emelyanov

rst: Fix core pointer passed into reading thread core image

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 9b2d1774
......@@ -747,7 +747,7 @@ static int open_cores(int pid, CoreEntry *leader_core)
goto err;
}
if (pb_read_one(fd, cores[i], PB_CORE) <= 0)
if (pb_read_one(fd, &cores[i], PB_CORE) <= 0)
goto err;
close(fd);
......
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