aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-08-16 17:16:57 +0200
committerHarald Welte <laforge@gnumonks.org>2015-08-18 19:35:02 +0200
commit6b39feedc78a2b23fb0d7f76e91b3fc631dffdc8 (patch)
treef7c9af7494d52537f73b27590f2289b9e9bb1b55
parent601cf12f814cd74c3fcc939839f07aa9ccde7aff (diff)
GMM: fix format string compiler warning
-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 89e207a1..d34aff1a 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;
}