From: Reuben Dowle Date: Thu, 25 Feb 2021 23:00:24 +0000 (+1300) Subject: nhrpd: Use correct printf format specifier X-Git-Tag: base_8.0~145^2~12 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4f7a37ace33f0b8d9e8edb9162831bea8745fba2;p=matthieu%2Ffrr.git nhrpd: Use correct printf format specifier Signed-off-by: Reuben Dowle --- diff --git a/nhrpd/nhrp_multicast.c b/nhrpd/nhrp_multicast.c index 6feab210c9..2f9665ab88 100755 --- a/nhrpd/nhrp_multicast.c +++ b/nhrpd/nhrp_multicast.c @@ -50,7 +50,7 @@ static void nhrp_multicast_send(struct nhrp_peer *p, struct zbuf *zb) sockunion_get_addr(&p->vc->remote.nbma), addrlen, addrlen == 4 ? 0x0800 : 0x86DD); - debugf(NHRP_DEBUG_COMMON, "Multicast Packet: %s -> %s, ret = %d, size = %d, addrlen = %d", + debugf(NHRP_DEBUG_COMMON, "Multicast Packet: %s -> %s, ret = %d, size = %zu, addrlen = %zu", sockunion2str(&p->vc->local.nbma, buf[0], sizeof(buf[0])), sockunion2str(&p->vc->remote.nbma, buf[1], sizeof(buf[1])), ret, zbuf_used(zb), addrlen);