2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

update printf format to match type

This commit is contained in:
Mark Andrews
2018-02-20 13:09:58 +11:00
committed by Evan Hunt
parent a04bb76973
commit 48ca11df5f

View File

@@ -1857,7 +1857,7 @@ dump_msg(struct msghdr *msg) {
printf("\tiov %p, iovlen %ld\n", msg->msg_iov,
(long) msg->msg_iovlen);
for (i = 0; i < (unsigned int)msg->msg_iovlen; i++)
printf("\t\t%d\tbase %p, len %ld\n", i,
printf("\t\t%u\tbase %p, len %ld\n", i,
msg->msg_iov[i].iov_base,
(long) msg->msg_iov[i].iov_len);
#ifdef ISC_NET_BSD44MSGHDR