[CRIU] [PATCH 1/3] compel: plugins,fds -- Don't include log.h

Cyrill Gorcunov gorcunov at openvz.org
Wed Nov 23 07:33:55 PST 2016


It's libcompel's helper. We need to address this problem later.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 compel/plugins/fds/fds.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compel/plugins/fds/fds.c b/compel/plugins/fds/fds.c
index a19c66287367..28f1db7482ee 100644
--- a/compel/plugins/fds/fds.c
+++ b/compel/plugins/fds/fds.c
@@ -4,10 +4,12 @@
 
 #include "uapi/std/syscall.h"
 #include "uapi/std/string.h"
+#include "uapi/std/log.h"
 #include "uapi/plugin-fds.h"
 
 #include "std-priv.h"
-#include "log.h"
+
+#define pr_err(fmt, ...)
 
 #include "common/compiler.h"
 #include "common/bug.h"
-- 
2.7.4



More information about the CRIU mailing list