Unbreak CARP build on 64-bit architectures.

Tested on:	sparc64
This commit is contained in:
mux 2005-02-23 00:20:33 +00:00
parent cd66df18cc
commit cbdc512413

View File

@ -454,7 +454,7 @@ carp_input(struct mbuf *m, int hlen)
if (m->m_pkthdr.len < iplen + sizeof(*ch)) {
carpstats.carps_badlen++;
CARP_LOG(sc, ("received len %d < sizeof(struct carp_header)",
CARP_LOG(sc, ("received len %zd < sizeof(struct carp_header)",
m->m_len - sizeof(struct ip)));
m_freem(m);
return;