From 4d4c404bf6f82ec7df67baff072e4f237c47180e Mon Sep 17 00:00:00 2001 From: anlan_cs Date: Sun, 27 Feb 2022 09:38:29 +0800 Subject: *: Add necessary new line for output of vty_out() Signed-off-by: anlan_cs --- lib/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/command.c') 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; } -- cgit v1.2.3