diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 10:21:51 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 10:21:51 -0700 |
commit | 489d3935b90bc6f1a0b866f321c4d1fc9f480d8b (patch) | |
tree | 8ab28fbadde2a9d1652f5f8714066f73799928ea /bgpd/bgp_packet.c | |
parent | 078fe1a5228485101a19caba39dab70ea12179ae (diff) | |
download | quagga-489d3935b90bc6f1a0b866f321c4d1fc9f480d8b.tar.bz2 quagga-489d3935b90bc6f1a0b866f321c4d1fc9f480d8b.tar.xz |
fix compiler warnings
Fix easy compiler warnings about unused code by marking them with #if 0
Add one missing printf argument.
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r-- | bgpd/bgp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index 114cfb4f..f92a88ad 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -1237,7 +1237,7 @@ bgp_open_receive (struct peer *peer, bgp_size_t size) zlog_debug ("%s [AS4] OPEN remote_as is AS_TRANS, but no AS4." " Odd, but proceeding.", peer->host); else if (as4 < BGP_AS_MAX && BGP_DEBUG (as4, AS4)) - zlog_debug ("%s [AS4] OPEN remote_as is AS_TRANS, but AS4 fits " + zlog_debug ("%s [AS4] OPEN remote_as is AS_TRANS, but AS4 %u fits " "in 2-bytes, very odd peer.", peer->host, as4); if (as4) remote_as = as4; |