[3/6] net: Add log prefix

Submitted by Cyrill Gorcunov on Aug. 31, 2018, 10:10 a.m.

Details

Message ID 20180831101004.26940-4-gorcunov@gmail.com
State New
Series "unix: Setup sysct and fix path resolving"
Headers show

Commit Message

Cyrill Gorcunov Aug. 31, 2018, 10:10 a.m.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/net.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

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