summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-11-09 13:42:26 +0100
committerHarald Welte <laforge@gnumonks.org>2010-11-09 13:42:26 +0100
commitdab0287b3fcb67d2690c3d6c8e7ace16b230e953 (patch)
treeb7ac248d7d792fcc33f7757dabdc199e7c52005d /include
parent46a45a6c4f9309164ef0484a6f15b7ae9cac1236 (diff)
msgb: fix printing of msgb pointer during MSGB_ABORT()
Diffstat (limited to 'include')
-rw-r--r--include/osmocore/msgb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocore/msgb.h b/include/osmocore/msgb.h
index 9b58e33b..44c59cd6 100644
--- 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 ...)