commit | b6e1a40c9c3e9ac1bade68b4b3c9e3c4665f79dc | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Mar 30 15:25:02 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Mar 30 15:25:02 2010 +0200 |
tree | c035dcbc52072607235e4e0473c624bb02b32e68 | |
parent | 82ae7169a41677774e67ac56f7c738b8fa067a9c [diff] |
[misnd] Use the size_t modifier when printing the size.
diff --git a/openbsc/src/input/misdn.c b/openbsc/src/input/misdn.c index 56930d4..83b01f2 100644 --- a/openbsc/src/input/misdn.c +++ b/openbsc/src/input/misdn.c
@@ -262,7 +262,7 @@ ret = send(bfd->fd, tx_buf, sizeof(*hh) + BCHAN_TX_GRAN, 0); if (ret < sizeof(*hh) + BCHAN_TX_GRAN) - DEBUGP(DMIB, "send returns %d instead of %lu\n", ret, + DEBUGP(DMIB, "send returns %d instead of %zu\n", ret, sizeof(*hh) + BCHAN_TX_GRAN); return ret;