summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 13:18:14 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 13:18:14 +0200
commit28b672fcd33f328964c91f0a3d06cd904bddad42 (patch)
tree1cc622db26c12def1bd038813c6dda77d021c06b /vtysh
parentMerge remote-tracking branch 'frr/master' into newline-redux (diff)
downloadfrr-28b672fcd33f328964c91f0a3d06cd904bddad42.tar.xz
frr-28b672fcd33f328964c91f0a3d06cd904bddad42.zip
lib, vtysh: remove now-useless newline arg
It's always \n now, hooray. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 5f89afdd0..e4bf5b257 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -816,7 +816,7 @@ vtysh_rl_describe (void)
int rows, cols;
rl_get_screen_size(&rows, &cols);
- char *ac = cmd_variable_comp2str(varcomps, cols, "\n");
+ char *ac = cmd_variable_comp2str(varcomps, cols);
fprintf(stdout, "%s\n", ac);
XFREE(MTYPE_TMP, ac);
}