summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-07 14:39:08 +0200
committerGitHub <noreply@github.com>2017-08-07 14:39:08 +0200
commita1ea626ef9da354c4e8ab77a63b30142fdad6089 (patch)
tree3bf38e3239ad039cd8e3fe468f1faab80c167a69
parentMerge pull request #912 from chiragshah6/mdev (diff)
parentvtysh: add missing \n on warning message (diff)
downloadfrr-a1ea626ef9da354c4e8ab77a63b30142fdad6089.tar.xz
frr-a1ea626ef9da354c4e8ab77a63b30142fdad6089.zip
Merge pull request #918 from opensourcerouting/vtysh-miss-newline
vtysh: add missing \n on warning message
-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;
}