Commit 874fce48 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

net: Use BUG() instead of BUG_ON(1)

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f473f4f2
...@@ -233,7 +233,7 @@ static int restore_link(NetDeviceEntry *nde, int nlsk) ...@@ -233,7 +233,7 @@ static int restore_link(NetDeviceEntry *nde, int nlsk)
return restore_one_link(nde, nlsk, veth_link_info); return restore_one_link(nde, nlsk, veth_link_info);
} }
BUG_ON(1); BUG();
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment