Commit ef570244 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

show: Always print process' exit_code

It's suitable not for info only but in debug purpose as well.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@openvz.org>
parent 53458898
......@@ -402,9 +402,8 @@ static void show_core_rest(int fd_core)
(int)tc.task_state,
task_state_str((int)tc.task_state));
if (tc.task_state == TASK_DEAD)
pr_info("\t Exit code: %u\n",
(unsigned int)tc.exit_code);
pr_info("\t Exit code: %u\n",
(unsigned int)tc.exit_code);
pr_info("\tBrk: %lx\n", tc.mm_brk);
pr_info("\tStart code: %lx\n", tc.mm_start_code);
......
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