gsm_subscriber: Fix compiler warning of the printf string
This fixes both a GCC and a Coverity warning: GCC: gsm_subscriber.c: In function ‘subscr_expire_callback’: gsm_subscriber.c:389:2: warning: format ‘%i’ expects argument of type ‘int’, but argument 8 has type ‘long long unsigned int’ [-Wformat] Coverity: CID 1040712
This commit is contained in:
parent
7b76934f03
commit
81cff91ec0
|
@ -386,7 +386,7 @@ static void subscr_expire_callback(void *data, long long unsigned int id)
|
|||
struct gsm_subscriber *s =
|
||||
subscr_get_by_id(net, id);
|
||||
|
||||
LOGP(DMM, LOGL_NOTICE, "Expiring inactive subscriber %s (ID %i)\n",
|
||||
LOGP(DMM, LOGL_NOTICE, "Expiring inactive subscriber %s (ID %llu)\n",
|
||||
subscr_name(s), id);
|
||||
s->lac = GSM_LAC_RESERVED_DETACHED;
|
||||
db_sync_subscriber(s);
|
||||
|
|
Loading…
Reference in New Issue