[PATCH] libosmo-sccp[master]: xua_default_lm_fsm: Missing printf() argument

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Apr 27 08:28:18 UTC 2017


Review at  https://gerrit.osmocom.org/2424

xua_default_lm_fsm: Missing printf() argument

Change-Id: I03c30a0d1e03ff56df80bdd1e8a7846142b6f79c
Fixes: coverity CID#166993
---
M src/xua_default_lm_fsm.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/24/2424/1

diff --git a/src/xua_default_lm_fsm.c b/src/xua_default_lm_fsm.c
index fc9ba3c..9308de4 100644
--- a/src/xua_default_lm_fsm.c
+++ b/src/xua_default_lm_fsm.c
@@ -111,7 +111,7 @@
 	 * allocated/registered by the SG */
 	as = osmo_ss7_as_find_by_l_rk_id(asp->inst, l_rk_id);
 	if (!as) {
-		LOGPFSM(fi, "RKM Result for unknown l_rk_id %u\n");
+		LOGPFSM(fi, "RKM Result for unknown l_rk_id %u\n", l_rk_id);
 		return -EINVAL;
 	}
 	as->cfg.routing_key.context = rctx;

-- 
To view, visit https://gerrit.osmocom.org/2424
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I03c30a0d1e03ff56df80bdd1e8a7846142b6f79c
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list