fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30055 )
Change subject: trxcon: test wrong format string passed to LOGPFSML ......................................................................
trxcon: test wrong format string passed to LOGPFSML
Change-Id: Ia40bfb42108d786e76dfb83f7d944de2a5ad929d --- M src/host/trxcon/src/trxcon.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/55/30055/1
diff --git a/src/host/trxcon/src/trxcon.c b/src/host/trxcon/src/trxcon.c index 838bb6a..b1222b5 100644 --- a/src/host/trxcon/src/trxcon.c +++ b/src/host/trxcon/src/trxcon.c @@ -344,6 +344,8 @@ fi = osmo_fsm_inst_alloc(&trxcon_fsm_def, ctx, NULL, LOGL_DEBUG, NULL); OSMO_ASSERT(fi != NULL);
+ LOGPFSML(fi, LOGL_ERROR, "Test %s\n", 123, 456, "test"); + trxcon = talloc_zero(fi, struct trxcon_inst); OSMO_ASSERT(trxcon != NULL);