From dab0287b3fcb67d2690c3d6c8e7ace16b230e953 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 9 Nov 2010 13:42:26 +0100 Subject: msgb: fix printing of msgb pointer during MSGB_ABORT() --- include/osmocore/msgb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #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 ...) -- cgit v1.2.3