]> git.puffer.fish Git - matthieu/frr.git/commitdiff
vtysh: add missing \n on warning message
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 6 Aug 2017 02:17:13 +0000 (04:17 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 6 Aug 2017 02:17:13 +0000 (04:17 +0200)
Oops, missed this in review.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
vtysh/vtysh.c

index 82f44be3a8ffef67929a883072af45532507caca..5886d39c197c6fc09e5a50fec6bb7580c1ac9af6 100644 (file)
@@ -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;
        }