aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmocom/msc/transaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/msc/transaction.h b/include/osmocom/msc/transaction.h
index c63ef5bc7..9278b6400 100644
--- a/include/osmocom/msc/transaction.h
+++ b/include/osmocom/msc/transaction.h
@@ -27,7 +27,7 @@ struct vty;
##args)
#define LOG_TRANS(trans, level, fmt, args...) \
- LOG_TRANS_CAT(trans, (trans)->log_subsys, level, fmt, ##args)
+ LOG_TRANS_CAT(trans, (trans) ? (trans)->log_subsys : DMSC, level, fmt, ##args)
enum bridge_state {
BRIDGE_STATE_NONE,