[1/3] tun: Define log prefix

Submitted by Cyrill Gorcunov on Sept. 21, 2018, 8:41 a.m.

Details

Message ID 20180921084145.18740-2-gorcunov@gmail.com
State Accepted
Series "tun: Fixes for netns sake"
Headers show

Commit Message

Cyrill Gorcunov Sept. 21, 2018, 8:41 a.m.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/tun.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/criu/tun.c b/criu/tun.c
index 11e82f22a265..2e189c69c8ac 100644
--- a/criu/tun.c
+++ b/criu/tun.c
@@ -24,6 +24,9 @@ 
 
 #include "images/tun.pb-c.h"
 
+#undef	LOG_PREFIX
+#define LOG_PREFIX "tun: "
+
 #ifndef IFF_PERSIST
 #define IFF_PERSIST 0x0800
 #endif