aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/vty')
-rw-r--r--openbsc/src/vty/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/vty/vty.c b/openbsc/src/vty/vty.c
index b403a7b2c..6e3134a98 100644
--- a/openbsc/src/vty/vty.c
+++ b/openbsc/src/vty/vty.c
@@ -282,7 +282,7 @@ void vty_hello(struct vty *vty)
} 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. */