From f196a02a65a71dc8687d571c94af75047684348f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 21 Aug 2014 09:42:03 +0200 Subject: ipa: use %z as format string whne printing sizeof() result thanks to Holger for reminding me --- src/gsm/ipa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gsm') diff --git a/src/gsm/ipa.c b/src/gsm/ipa.c index 9c66037f..a49d8ac2 100644 --- a/src/gsm/ipa.c +++ b/src/gsm/ipa.c @@ -355,7 +355,7 @@ int ipa_msg_recv_buffered(int fd, struct msgb **rmsg, struct msgb **tmp_msg) } LOGP(DLINP, LOGL_INFO, - "Received part of IPA message header (%d/%lu)\n", + "Received part of IPA message header (%d/%zu)\n", msg->len, sizeof(*hh)); if (!tmp_msg) { ret = -EIO; -- cgit v1.2.3