mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +00:00
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: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
f379e2ccf5
commit
ccdca9e3d1
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue