]> git.puffer.fish Git - mirror/frr.git/commitdiff
bfdd: fix size_t format string
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 27 Jan 2023 10:14:35 +0000 (11:14 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 27 Jan 2023 11:01:20 +0000 (12:01 +0100)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bfdd/bfd_packet.c

index 6980e5186a4af55340d11d9078d3235300433191..30f54f130fb37eeb50f2c588abbaa8bb088bf4a9 100644 (file)
@@ -845,7 +845,7 @@ void bfd_recv_cb(struct thread *t)
        /* Implement RFC 5880 6.8.6 */
        if (mlen < BFD_PKT_LEN) {
                cp_debug(is_mhop, &peer, &local, ifindex, vrfid,
-                        "too small (%ld bytes)", mlen);
+                        "too small (%zd bytes)", mlen);
                return;
        }