From 4f7a37ace33f0b8d9e8edb9162831bea8745fba2 Mon Sep 17 00:00:00 2001 From: Reuben Dowle Date: Fri, 26 Feb 2021 12:00:24 +1300 Subject: [PATCH] nhrpd: Use correct printf format specifier Signed-off-by: Reuben Dowle --- nhrpd/nhrp_multicast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5