aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/gprs/gprs_gmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index 89e207a1a..d34aff1a3 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -1676,7 +1676,7 @@ static void ggsn_lookup_cb(void *arg, int status, int timeouts, struct hostent *
if (hostent->h_length != sizeof(struct in_addr)) {
LOGMMCTXP(LOGL_ERROR, lookup->mmctx,
- "Wrong addr size(%d)\n", sizeof(struct in_addr));
+ "Wrong addr size(%zu)\n", sizeof(struct in_addr));
goto reject_due_failure;
}