projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087e113
)
fix off-by-one error in OSMO_NUM_DLIB
author
Harald Welte
<laforge@gnumonks.org>
Fri, 29 Jul 2011 13:12:41 +0000
(15:12 +0200)
committer
Harald Welte
<laforge@gnumonks.org>
Fri, 29 Jul 2011 13:12:41 +0000
(15:12 +0200)
This bug was introduced in
95f7eb288c4b8b69d61fa8d68957fb21f09e11e5
and
it caused a segfault on 'write terminal'
include/osmocom/core/logging.h
patch
|
blob
|
history
diff --git
a/include/osmocom/core/logging.h
b/include/osmocom/core/logging.h
index
06d90e5
..
154ee19
100644
(file)
--- 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;