lib/vty.c: add missing format string when printing out motd message

Signed-off-by: G.Balaji <balajig81@gmail.com>
This commit is contained in:
Nico Golde 2010-08-01 15:24:35 +02:00 committed by Greg Troxel
parent b167938707
commit b830c89a45

View File

@ -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. */