From 96ade3ed7716c89b8047a1c0ab3377985d461cf8 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 21 Jun 2017 03:10:57 +0000 Subject: *: use vty_outln Saves 400 lines Signed-off-by: Quentin Young --- tests/lib/cli/common_cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/cli/common_cli.c') diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c index cfe1e3cc3b..27b28b126f 100644 --- a/tests/lib/cli/common_cli.c +++ b/tests/lib/cli/common_cli.c @@ -36,10 +36,10 @@ int dump_args(struct vty *vty, const char *descr, int argc, struct cmd_token *argv[]) { int i; - vty_out (vty, "%s with %d args.%s", descr, argc, VTY_NEWLINE); + vty_outln (vty, "%s with %d args.", descr, argc); for (i = 0; i < argc; i++) { - vty_out (vty, "[%02d] %s@%s: %s%s", i, argv[i]->text, argv[i]->varname, argv[i]->arg, VTY_NEWLINE); + vty_outln (vty, "[%02d] %s@%s: %s", i, argv[i]->text, argv[i]->varname, argv[i]->arg); } return CMD_SUCCESS; -- cgit v1.2.3