[CRIU] [PATCH 5/7] mount: Use BUG() instead of BUG_ON(1)

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


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

diff --git a/mount.c b/mount.c
index 7d85652..324edbe 100644
--- a/mount.c
+++ b/mount.c
@@ -361,7 +361,7 @@ out_unlock:
 	ret = sigprocmask(SIG_SETMASK, &oldmask, NULL);
 	if (ret == -1) {
 		pr_perror("Can not set mask of blocked signals");
-		BUG_ON(1);
+		BUG();
 	}
 
 	return status;
-- 
1.7.7.6



More information about the CRIU mailing list