[misnd] Use the size_t modifier when printing the size.

This commit is contained in:
Holger Hans Peter Freyther
2010-03-30 15:25:02 +02:00
parent 82ae7169a4
commit b6e1a40c9c

View File

@@ -262,7 +262,7 @@ static int handle_tsX_write(struct bsc_fd *bfd)
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;