diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-02-27 09:38:29 +0800 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2022-02-27 10:59:19 +0800 |
| commit | 4d4c404bf6f82ec7df67baff072e4f237c47180e (patch) | |
| tree | 08fea36c37bb809f3fed67088c5c521120281140 /lib | |
| parent | d28acb1d0ec7946b55bf57de2467728054725e33 (diff) | |
*: Add necessary new line for output of vty_out()
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index ebdbf162d1..1989668bf0 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2239,9 +2239,9 @@ DEFUN (banner_motd_file, int cmd = cmd_banner_motd_file(filename); if (cmd == CMD_ERR_NO_FILE) - vty_out(vty, "%s does not exist", filename); + vty_out(vty, "%s does not exist\n", filename); else if (cmd == CMD_WARNING_CONFIG_FAILED) - vty_out(vty, "%s must be in %s", filename, SYSCONFDIR); + vty_out(vty, "%s must be in %s\n", filename, SYSCONFDIR); return cmd; } |
