summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vty/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c
index eda3699c..696766a9 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -291,7 +291,7 @@ int vty_out(struct vty *vty, const char *format, ...)
/*! \brief print a newline on the given VTY */
int vty_out_newline(struct vty *vty)
{
- char *p = vty_newline(vty);
+ const char *p = vty_newline(vty);
buffer_put(vty->obuf, p, strlen(p));
return 0;
}