2
0
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:
Cyrill Gorcunov
2011-12-19 18:52:50 +04:00
parent 3023837da9
commit d6eab944e3
7 changed files with 85 additions and 41 deletions

View File

@@ -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