summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorG.Balaji <balajig81@gmail.com>2011-11-27 20:09:40 +0530
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-23 14:31:14 +0400
commitcb32fd690a957819865219a847e3c21a53a0f419 (patch)
treed152fe1feadaaa3b14472c097770bb71a2e75730
parent73bfe0bd9adb8e4dfcee7239e56a425c6d58f4e9 (diff)
zebra: Removal of the following warning messages
warning: too many arguments for format [-Wformat-extra-args]
-rw-r--r--zebra/zebra_vty.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index 1785fec0..f3a7d46d 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -1973,8 +1973,7 @@ DEFUN (show_ip_mroute,
{
if (first)
{
- vty_out (vty, SHOW_ROUTE_V4_HEADER, VTY_NEWLINE, VTY_NEWLINE,
- VTY_NEWLINE);
+ vty_out (vty, SHOW_ROUTE_V4_HEADER);
first = 0;
}
vty_show_ip_route (vty, rn, rib);
@@ -2009,7 +2008,7 @@ DEFUN (show_ipv6_mroute,
{
if (first)
{
- vty_out (vty, SHOW_ROUTE_V6_HEADER, VTY_NEWLINE, VTY_NEWLINE, VTY_NEWLINE);
+ vty_out (vty, SHOW_ROUTE_V6_HEADER);
first = 0;
}
vty_show_ipv6_route (vty, rn, rib);