summaryrefslogtreecommitdiff
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
parent9b0a8efa465aac570b076540490f123a1ec80f08 (diff)
vtysh: add missing \n on warning message
Oops, missed this in review. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 82f44be3a8..5886d39c19 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;
}