commit | c423a12392b76e47739491cacca17c3535a8ae4b | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 08:10:11 2009 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 08:26:15 2009 +0200 |
tree | 62e07ea9871e1f809ff9ac393d8d2c3d0aa50f45 | |
parent | 656b1298128e8c07b6d9baf13cddff1ab985d6fc [diff] |
vty: Fix format string issue
diff --git a/openbsc/src/vty/vty.c b/openbsc/src/vty/vty.c index b403a7b..6e3134a 100644 --- a/openbsc/src/vty/vty.c +++ b/openbsc/src/vty/vty.c
@@ -282,7 +282,7 @@ } else 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. */