diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-21 09:42:03 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-21 09:42:03 +0200 |
commit | f196a02a65a71dc8687d571c94af75047684348f (patch) | |
tree | 629237e4bfb1df239eef8311c81e3278936c16aa /src/gsm | |
parent | 11bca8b8aae8b72c82b952b1944a7b4e55c7c2a2 (diff) |
ipa: use %z as format string whne printing sizeof() result
thanks to Holger for reminding me
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/ipa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |