diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 45786a951d37..39ffe0a8301d 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -536,7 +536,7 @@ in_arpinput(struct mbuf *m) * a protocol length not equal to an IPv4 address. */ if (ah->ar_pln != sizeof(struct in_addr)) { - log(LOG_ERR, "in_arp: requested protocol length != %ld\n", + log(LOG_ERR, "in_arp: requested protocol length != %zu\n", sizeof(struct in_addr)); return; }