From: Nico Golde Date: Sun, 1 Aug 2010 13:24:35 +0000 (+0200) Subject: lib/vty.c: add missing format string when printing out motd message X-Git-Tag: frr-2.0-rc1~2142 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b830c89a4532819a78c251c559566767b89ee5ac;p=matthieu%2Ffrr.git lib/vty.c: add missing format string when printing out motd message Signed-off-by: G.Balaji --- diff --git a/lib/vty.c b/lib/vty.c index e4818eb682..bd1dbac071 100644 --- a/lib/vty.c +++ b/lib/vty.c @@ -250,7 +250,7 @@ vty_hello (struct vty *vty) vty_out (vty, "MOTD file not found%s", VTY_NEWLINE); } else if (host.motd) - vty_out (vty, host.motd); + vty_out (vty, "%s", host.motd); } /* Put out prompt and wait input from user. */