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:
46a45a6
)
msgb: fix printing of msgb pointer during MSGB_ABORT()
author
Harald Welte
<laforge@gnumonks.org>
Tue, 9 Nov 2010 12:42:26 +0000
(13:42 +0100)
committer
Harald Welte
<laforge@gnumonks.org>
Tue, 9 Nov 2010 12:42:26 +0000
(13:42 +0100)
include/osmocore/msgb.h
patch
|
blob
|
history
diff --git
a/include/osmocore/msgb.h
b/include/osmocore/msgb.h
index
9b58e33
..
44c59cd
100644
(file)
--- a/
include/osmocore/msgb.h
+++ b/
include/osmocore/msgb.h
@@
-65,7
+65,7
@@
extern void msgb_reset(struct msgb *m);
#include <osmocore/gsm_utils.h>
#define MSGB_ABORT(msg, fmt, args ...) do { \
generate_backtrace(); \
- osmo_panic("msgb(%p): " fmt,
## args);
\
+ osmo_panic("msgb(%p): " fmt,
msg, ## args);
\
} while(0)
#else
#define MSGB_ABORT(msg, fmt, args ...)