aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-06 21:53:55 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-05-06 21:53:55 +0200
commit3610cfec3d9ed5bd8da83db208480ad6a6d538c2 (patch)
tree2cb1c9639dc4209c354e3b815ec89857141f537a
parent3eabb95f63f9a71b599d7e68290a7dd612cf0347 (diff)
vty: The logging method has changed the signature
Fix the signature of the logging command, increase osmocore requirement. It is to note that LIBOSMOVTY is not used in this branch.
-rw-r--r--openbsc/src/vty_interface_cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/vty_interface_cmds.c b/openbsc/src/vty_interface_cmds.c
index 9f47e237c..17c54e66f 100644
--- a/openbsc/src/vty_interface_cmds.c
+++ b/openbsc/src/vty_interface_cmds.c
@@ -30,7 +30,8 @@
#include <stdlib.h>
-static void _vty_output(struct log_target *tgt, const char *line)
+static void _vty_output(struct log_target *tgt,
+ unsigned int level, const char *line)
{
struct vty *vty = tgt->tgt_vty.vty;
vty_out(vty, "%s", line);