From a2b1ecd29f8bd4b01d5287ff862e156b2ffc30b3 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 31 Oct 2004 18:58:09 +0000 Subject: 2004-10-31 Paul Jakma * {bgpd,bgp_attr}.c: size_t printf format should be ld. --- bgpd/bgp_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bgpd/bgp_attr.c') diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index c8f5ed62..410754ef 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -1167,7 +1167,7 @@ bgp_attr_parse (struct peer *peer, struct attr *attr, bgp_size_t size, if (endp - BGP_INPUT_PNT (peer) < BGP_ATTR_MIN_LEN) { zlog (peer->log, LOG_WARNING, - "%s error BGP attribute length %d is smaller than min len", + "%s error BGP attribute length %ld is smaller than min len", peer->host, endp - STREAM_PNT (BGP_INPUT (peer))); bgp_notify_send (peer, -- cgit v1.2.1