aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 08:09:54 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 08:26:14 +0200
commit656b1298128e8c07b6d9baf13cddff1ab985d6fc (patch)
tree1d2a8c3269b165dddb454ab09bd177cf67b71f5d /openbsc/src/vty
parent336f509941033481168a87e6f23e364676674ac8 (diff)
vty: Make the argument const
Diffstat (limited to 'openbsc/src/vty')
-rw-r--r--openbsc/src/vty/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/vty/command.c b/openbsc/src/vty/command.c
index f03dcbb4e..c32e703f4 100644
--- a/openbsc/src/vty/command.c
+++ b/openbsc/src/vty/command.c
@@ -3311,7 +3311,7 @@ DEFUN(no_banner_motd,
}
/* Set config filename. Called from vty.c */
-void host_config_set(char *filename)
+void host_config_set(const char *filename)
{
host.config = talloc_strdup(tall_vty_ctx, filename);
}