msgb: fix printing of msgb pointer during MSGB_ABORT()

This commit is contained in:
Harald Welte 2010-11-09 13:42:26 +01:00
parent 46a45a6c4f
commit dab0287b3f
1 changed files with 1 additions and 1 deletions

View File

@ -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 ...)