vty: Address compiler warning about the const qualifier
vty.c: In function 'vty_out_newline':
vty.c:294:12: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
diff --git a/src/vty/vty.c b/src/vty/vty.c
index eda3699..696766a 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -291,7 +291,7 @@
/*! \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;
}