summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-29 15:12:41 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-29 15:12:41 +0200
commit2af435986f14b14171c8581fff090ea9fb41fc61 (patch)
tree8c55b9379a77990d56d0d83013771de5fc24ad51 /include/osmocom/core
parent087e1136ebc99d0d857a3b16e9e2ad3c970f64ed (diff)
fix off-by-one error in OSMO_NUM_DLIB
This bug was introduced in 95f7eb288c4b8b69d61fa8d68957fb21f09e11e5 and it caused a segfault on 'write terminal'
Diffstat (limited to 'include/osmocom/core')
-rw-r--r--include/osmocom/core/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 06d90e52..154ee198 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -43,7 +43,7 @@ void logp(int subsys, char *file, int line, int cont, const char *format, ...) _
#define DLMUX -4
#define DLMI -5
#define DLMIB -6
-#define OSMO_NUM_DLIB 7
+#define OSMO_NUM_DLIB 6
struct log_category {
uint8_t loglevel;