diff options
author | root <root@debian.localnet> | 2012-12-08 18:08:44 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2012-12-08 18:11:20 +0100 |
commit | 47ff571046570e8f70f545de162e09c2ff147f80 (patch) | |
tree | 177823218da0ae77ce0514d60ee77e845c74eade /src/segtree.c | |
parent | 84792b4813a4ebf59e546acfac80144775e0d47e (diff) |
debug: include verbose message in all BUG statements
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/segtree.c')
-rw-r--r-- | src/segtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/segtree.c b/src/segtree.c index fb404a43..216e4588 100644 --- a/src/segtree.c +++ b/src/segtree.c @@ -246,7 +246,7 @@ static void range_low(mpz_t rop, struct expr *expr) case EXPR_MAPPING: return range_low(rop, expr->left); default: - BUG(); + BUG("invalid range expression type %s\n", expr->ops->name); } } @@ -268,7 +268,7 @@ static void range_high(mpz_t rop, const struct expr *expr) case EXPR_MAPPING: return range_high(rop, expr->left); default: - BUG(); + BUG("invalid range expression type %s\n", expr->ops->name); } } |