commit | dab0287b3fcb67d2690c3d6c8e7ace16b230e953 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Tue Nov 09 13:42:26 2010 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Nov 09 13:42:26 2010 +0100 |
tree | b7ac248d7d792fcc33f7757dabdc199e7c52005d | |
parent | 46a45a6c4f9309164ef0484a6f15b7ae9cac1236 [diff] [blame] |
msgb: fix printing of msgb pointer during MSGB_ABORT()
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 @@ #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 ...)