commit | 29645dda79e2d0416169093994ee74e432ecde12 | [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 | 7dd617aac0723b8fef3ae935d6427d230899d415 [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;