commit | a2b1ecd29f8bd4b01d5287ff862e156b2ffc30b3 | [log] [tgz] |
---|---|---|
author | paul <paul> | Sun Oct 31 18:58:09 2004 +0000 |
committer | paul <paul> | Sun Oct 31 18:58:09 2004 +0000 |
tree | 6c4947a0e49537be984ca482b5b4f32b3763d2bc | |
parent | 64511f394a90602a31cbe1660be426c16439322c [diff] [blame] |
2004-10-31 Paul Jakma <paul@dishone.st> * {bgpd,bgp_attr}.c: size_t printf format should be ld.
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 663f01b..26c4455 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c
@@ -4122,7 +4122,7 @@ /* Check buffer length. */ if (len < BGP_UPTIME_LEN) { - zlog_warn ("peer_uptime (): buffer shortage %d", len); + zlog_warn ("peer_uptime (): buffer shortage %ld", len); /* XXX: should return status instead of buf... */ snprintf (buf, len, "<error> "); return buf;