[CRIU] [PATCH 6/7] net: Use BUG() instead of BUG_ON(1)

Cyrill Gorcunov gorcunov at openvz.org
Thu Aug 23 04:48:15 EDT 2012


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net.c b/net.c
index bafde9d..538be68 100644
--- a/net.c
+++ b/net.c
@@ -233,7 +233,7 @@ static int restore_link(NetDeviceEntry *nde, int nlsk)
 		return restore_one_link(nde, nlsk, veth_link_info);
 	}
 
-	BUG_ON(1);
+	BUG();
 	return -1;
 }
 
-- 
1.7.7.6



More information about the CRIU mailing list