[CRIU] [PATCH 3/6] net: Add log prefix

Cyrill Gorcunov gorcunov at gmail.com
Fri Aug 31 13:10:01 MSK 2018


Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 criu/net.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/criu/net.c b/criu/net.c
index 0431b62f9011..177380efdcfc 100644
--- a/criu/net.c
+++ b/criu/net.c
@@ -41,6 +41,9 @@
 #include "protobuf.h"
 #include "images/netdev.pb-c.h"
 
+#undef	LOG_PREFIX
+#define LOG_PREFIX "net: "
+
 #ifndef IFLA_LINK_NETNSID
 #define IFLA_LINK_NETNSID	37
 #undef IFLA_MAX
-- 
2.17.1



More information about the CRIU mailing list