]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib/vty.c: add missing format string when printing out motd message
authorNico Golde <nion@debian.org>
Sun, 1 Aug 2010 13:24:35 +0000 (15:24 +0200)
committerGreg Troxel <gdt@ir.bbn.com>
Fri, 17 Sep 2010 17:36:44 +0000 (13:36 -0400)
Signed-off-by: G.Balaji <balajig81@gmail.com>
lib/vty.c

index e4818eb682f34fdd9a5bce6c509f09a8d6ae3962..bd1dbac0717982fa190083645deaed47783aa673 100644 (file)
--- 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. */