summaryrefslogtreecommitdiffstats
path: root/src/bitvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitvec.c')
-rw-r--r--src/bitvec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bitvec.c b/src/bitvec.c
index 884eb025..0f56e3e9 100644
--- a/src/bitvec.c
+++ b/src/bitvec.c
@@ -44,6 +44,7 @@
#include <osmocom/core/bits.h>
#include <osmocom/core/bitvec.h>
+#include <osmocom/core/panic.h>
#define BITNUM_FROM_COMP(byte, bit) ((byte*8)+bit)
@@ -530,7 +531,7 @@ char bit_value_to_char(enum bit_value v)
case ONE: return '1';
case L: return 'L';
case H: return 'H';
- default: abort();
+ default: osmo_panic("unexpected input in bit_value_to_char"); return 'X';
}
}