summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-06 04:17:13 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-06 04:17:13 +0200
commitb4e197b521d2b1745d34896a89d091839309149e (patch)
tree3bf38e3239ad039cd8e3fe468f1faab80c167a69 /vtysh
parentMerge pull request #912 from chiragshah6/mdev (diff)
downloadfrr-b4e197b521d2b1745d34896a89d091839309149e.tar.xz
frr-b4e197b521d2b1745d34896a89d091839309149e.zip
vtysh: add missing \n on warning message
Oops, missed this in review. 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 82f44be3a..5886d39c1 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -235,7 +235,7 @@ static int vtysh_client_run_all(struct vtysh_client *head_client,
}
if (wrong_instance && !correct_instance && fp) {
fprintf(fp,
- "%% [%s]: command ignored as it targets an instance that is not running",
+ "%% [%s]: command ignored as it targets an instance that is not running\n",
head_client->name);
rc_all = CMD_WARNING_CONFIG_FAILED;
}