[CRIU] [PATCH 2/2] criu: print criu and kernel versions from log_init()
Dmitry Safonov
0x7f454c46 at gmail.com
Fri Apr 6 16:49:41 MSK 2018
2018-04-06 8:49 GMT+01:00 Andrei Vagin <avagin at virtuozzo.com>:
> log_init() opens a log file. We want to have criu and kernel versions in
> each log file, so it looks reasonable to print them from log_init().
>
> Without this patch, versions are not printed, if criu is called in the
> swrk mode.
>
> Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
Reviewed-by: Dmitry Safonov <0x7f454c46 at gmail.com>
A small nit:
--->8---
--- a/criu/util.c
+++ b/criu/util.c
@@ -54,7 +54,6 @@
#include "cr-service.h"
#include "files.h"
#include "pstree.h"
-#include "version.h"
#include "cr-errno.h"
--
Dmitry
More information about the CRIU
mailing list