mirror of https://gerrit.osmocom.org/libosmocore
msgb_abort(): better formatting
This commit is contained in:
parent
088e68aff4
commit
be6cb17228
|
@ -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, ## args); \
|
||||
} while(0)
|
||||
#else
|
||||
#define MSGB_ABORT(msg, fmt, args ...)
|
||||
|
|
Loading…
Reference in New Issue