2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

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

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-08-27 23:22:56 +04:00
committed by Pavel Emelyanov
parent f473f4f24d
commit 874fce48ec

2
net.c
View File

@@ -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;
}