log: fix number format for domain indicator

CN_DomainIndicator_t is a long, so use %l format.
Error was introduced in recent 2b5021fd8d.

Fixes: CID#157119
Change-Id: I22f49d45bc87897beb24a6b1eee6c83da3e57b0f
This commit is contained in:
Neels Hofmeyr 2016-12-07 15:30:16 +01:00
parent 2b5021fd8d
commit 32b821005e
1 changed files with 2 additions and 2 deletions

View File

@ -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;