summaryrefslogtreecommitdiffstats
path: root/lib/thread.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 18:50:29 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:19:58 +0200
commit181039f3d7a5f59ed31274210a9626f2cc5f673e (patch)
tree945a074b1f8f7bd53c21e6b65ec7e08de15b2121 /lib/thread.c
parent*: ditch vty_outln(), part 1 of 2 (diff)
downloadfrr-181039f3d7a5f59ed31274210a9626f2cc5f673e.tar.xz
frr-181039f3d7a5f59ed31274210a9626f2cc5f673e.zip
*: ditch vty_outln(), part 2 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/thread.c b/lib/thread.c
index e59d68b0e..10727dd07 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -270,8 +270,8 @@ DEFUN (show_thread_cpu,
if (argv_find (argv, argc, "FILTER", &idx)) {
filter = parse_filter (argv[idx]->arg);
if (!filter) {
- vty_outln(vty, "Invalid filter \"%s\" specified; must contain at least"
- "one of 'RWTEXB'", argv[idx]->arg);
+ vty_out(vty, "Invalid filter \"%s\" specified; must contain at least"
+ "one of 'RWTEXB'\n", argv[idx]->arg);
return CMD_WARNING;
}
}
@@ -294,8 +294,8 @@ DEFUN (clear_thread_cpu,
if (argv_find (argv, argc, "FILTER", &idx)) {
filter = parse_filter (argv[idx]->arg);
if (!filter) {
- vty_outln(vty, "Invalid filter \"%s\" specified; must contain at least"
- "one of 'RWTEXB'", argv[idx]->arg);
+ vty_out(vty, "Invalid filter \"%s\" specified; must contain at least"
+ "one of 'RWTEXB'\n", argv[idx]->arg);
return CMD_WARNING;
}
}