diff options
author | Nico Golde <nion@debian.org> | 2010-08-01 15:24:35 +0200 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2010-09-17 13:36:44 -0400 |
commit | b830c89a4532819a78c251c559566767b89ee5ac (patch) | |
tree | ee399053b3d043cdbb8d14f18da6472fe77649f2 /lib | |
parent | b16793870794919ecc34138bdc51703cc3f409ca (diff) |
lib/vty.c: add missing format string when printing out motd message
Signed-off-by: G.Balaji <balajig81@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |