mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
Move logging functions to log.c
Instead of keeping all unrelated to C/R procedure helpers in util.c move logging related helpers to log.c. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "image.h"
|
||||
#include "util.h"
|
||||
#include "log.h"
|
||||
#include "syscall.h"
|
||||
#include "restorer.h"
|
||||
|
||||
@@ -1759,7 +1760,7 @@ static void sigreturn_restore(pid_t pstree_pid, pid_t pid)
|
||||
task_args->thread_args);
|
||||
|
||||
close_safe(&fd_pstree);
|
||||
deinit_logging();
|
||||
fini_log();
|
||||
|
||||
/*
|
||||
* An indirect call to task_restore, note it never resturns
|
||||
|
Reference in New Issue
Block a user