summaryrefslogtreecommitdiff
path: root/lib/grammar_sandbox.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-21 18:10:29 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 17:34:56 +0000
commite31b6333f4def619b6471d67bb901f7893a83193 (patch)
tree7d07cbd86fb8e6eeae363a3ea30e215de175ef0e /lib/grammar_sandbox.c
parent1318e7c84190d55d958cd412276115850d46f55f (diff)
*: vty_outln (vty, "") --> vty_out (vty, VTYNL)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/grammar_sandbox.c')
-rw-r--r--lib/grammar_sandbox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/grammar_sandbox.c b/lib/grammar_sandbox.c
index 5fc77475b9..9bb672dc53 100644
--- a/lib/grammar_sandbox.c
+++ b/lib/grammar_sandbox.c
@@ -418,14 +418,14 @@ DEFUN (grammar_findambig,
prev->el->string);
vty_outln (vty, " %s%s '%s'", cur->el->name, VTYNL,
cur->el->string);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
ambig++;
}
prev = cur;
}
list_delete (commands);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
} while (scan && scannode < LINK_PARAMS_NODE);
vty_outln (vty, "%d ambiguous commands found.", ambig);
@@ -543,7 +543,7 @@ pretty_print_graph (struct vty *vty, struct graph_node *start, int level,
if (numto)
{
if (numto > 1)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
for (unsigned int i = 0; i < vector_active (start->to); i++)
{
struct graph_node *adj = vector_slot (start->to, i);
@@ -569,7 +569,7 @@ pretty_print_graph (struct vty *vty, struct graph_node *start, int level,
}
}
else
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
static void