Commit ccdca9e3 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

dump: Add missing new lines

Otherwise output looks like

Dumping core (pid: 16953)
----------------------------------------
Dumping GP/FPU registers ... OK
Obtainting personality ... OK
Obtainting task auvx ... Dumping path for 1 fd via self 19 [/home/crtools/test/legacy/test-inotify]
Dumping header ... ----------------------------------------

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f379e2cc
......@@ -772,6 +772,7 @@ static int dump_task_mm(pid_t pid, const struct proc_pid_stat *stat,
if (get_task_auxv(pid, &mme))
return -1;
pr_info("OK\n");
if (dump_task_exe_link(pid, &mme))
return -1;
......@@ -988,6 +989,9 @@ static int dump_task_core_all(pid_t pid, const struct proc_pid_stat *stat,
core->tc.exit_code = 0;
ret = dump_task_core(core, fdset_fd(cr_fdset, CR_FD_CORE));
if (ret)
goto err_free;
pr_info("OK\n");
err_free:
free(core);
......
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