aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbgw_rua.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-07 15:30:16 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-07 15:32:31 +0100
commit32b821005e69813cea335f6b88568db6144111b9 (patch)
tree76b4119dbb4c6a7b711b8ead8ad043a7039f7ec1 /src/hnbgw_rua.c
parent2b5021fd8d445f0ca4f28e0ea71a19cd52724e57 (diff)
log: fix number format for domain indicator
CN_DomainIndicator_t is a long, so use %l format. Error was introduced in recent 2b5021fd8d445f0ca4f28e0ea71a19cd52724e57. Fixes: CID#157119 Change-Id: I22f49d45bc87897beb24a6b1eee6c83da3e57b0f
Diffstat (limited to 'src/hnbgw_rua.c')
-rw-r--r--src/hnbgw_rua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hnbgw_rua.c b/src/hnbgw_rua.c
index 0ca64d3..47d33f0 100644
--- a/src/hnbgw_rua.c
+++ b/src/hnbgw_rua.c
@@ -348,7 +348,7 @@ static int rua_rx_init_disconnect(struct msgb *msg, ANY_t *in)
cn = hnb->gw->cnlink_ps;
break;
default:
- LOGP(DRUA, LOGL_ERROR, "Invalid CN_DomainIndicator: %u\n",
+ LOGP(DRUA, LOGL_ERROR, "Invalid CN_DomainIndicator: %l\n",
ies.cN_DomainIndicator);
rc = -1;
goto error_free;
@@ -394,7 +394,7 @@ static int rua_rx_init_dt(struct msgb *msg, ANY_t *in)
cn = hnb->gw->cnlink_ps;
break;
default:
- LOGP(DRUA, LOGL_ERROR, "Invalid CN_DomainIndicator: %u\n",
+ LOGP(DRUA, LOGL_ERROR, "Invalid CN_DomainIndicator: %l\n",
ies.cN_DomainIndicator);
rc = -1;
goto error_free;