From 99bd9d31392507d3f82aa93e9598d880ce586479 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 15 Aug 2019 15:29:27 +0200 Subject: gprs_gmm.c: Use osmo_rai_name() in log line Change-Id: Ieab9b7696c93de9a5d3d42f614072a6f2181e37d --- src/gprs/gprs_gmm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c index f7aff7311..dccec2bad 100644 --- a/src/gprs/gprs_gmm.c +++ b/src/gprs/gprs_gmm.c @@ -1827,9 +1827,8 @@ static int gsm48_rx_gmm_ra_upd_req(struct sgsn_mm_ctx *mmctx, struct msgb *msg, { /* We cannot use the mmctx */ LOGMMCTXP(LOGL_INFO, mmctx, - "The MM context cannot be used, RA: %03d-%0*d-%d-%d\n", - mmctx->ra.mcc, mmctx->ra.mnc_3_digits, mmctx->ra.mnc, - mmctx->ra.lac, mmctx->ra.rac); + "The MM context cannot be used, RA: %s\n", + osmo_rai_name(&mmctx->ra)); /* mmctx is set to NULL and gprs_llgmm_unassign(llme) will be called below, let's make sure we don't keep dangling llme pointers in mmctx (OS#3957). */ -- cgit v1.2.3