summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ...)