[CRIU] [PATCH 4/7] files: Use BUG() instead of BUG_ON(1)
Cyrill Gorcunov
gorcunov at openvz.org
Thu Aug 23 04:48:13 EDT 2012
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
files.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/files.c b/files.c
index aa7ea3f..4cf6f1a 100644
--- a/files.c
+++ b/files.c
@@ -71,7 +71,7 @@ struct fdinfo_list_entry *file_master(struct file_desc *d)
{
if (list_empty(&d->fd_info_head)) {
pr_err("Empty list on file desc id %#x\n", d->id);
- BUG_ON(1);
+ BUG();
}
return list_first_entry(&d->fd_info_head,
--
1.7.7.6
More information about the CRIU
mailing list