summaryrefslogtreecommitdiffstats
path: root/include/osmocore/msgb.h
diff options
context:
space:
mode:
authorHarald Welte2010-11-09 13:42:26 +0100
committerHarald Welte2010-11-09 13:42:26 +0100
commitdab0287b3fcb67d2690c3d6c8e7ace16b230e953 (patch)
treeb7ac248d7d792fcc33f7757dabdc199e7c52005d /include/osmocore/msgb.h
parentmsgb: don't compare unsigned int with int (fix lcr build) (diff)
downloadlibosmocore-dab0287b3fcb67d2690c3d6c8e7ace16b230e953.tar.gz
libosmocore-dab0287b3fcb67d2690c3d6c8e7ace16b230e953.tar.xz
libosmocore-dab0287b3fcb67d2690c3d6c8e7ace16b230e953.zip
msgb: fix printing of msgb pointer during MSGB_ABORT()
Diffstat (limited to 'include/osmocore/msgb.h')
-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 9b58e33..44c59cd 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 ...)