aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/mgcp/mgcp_main.c')
-rw-r--r--openbsc/src/mgcp/mgcp_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_main.c b/openbsc/src/mgcp/mgcp_main.c
index 20b9836e3..091d7bdc9 100644
--- a/openbsc/src/mgcp/mgcp_main.c
+++ b/openbsc/src/mgcp/mgcp_main.c
@@ -39,7 +39,8 @@
#include <osmocore/select.h>
#include <openbsc/mgcp.h>
#include <openbsc/mgcp_internal.h>
-#include <osmocom/vty//telnet_interface.h>
+#include <osmocom/vty/telnet_interface.h>
+#include <osmocom/vty/logging.h>
#include <openbsc/vty.h>
#include <osmocom/vty/command.h>
@@ -151,7 +152,7 @@ static int read_call_agent(struct bsc_fd *fd, unsigned int what)
perror("Gateway failed to read");
return -1;
} else if (slen > sizeof(addr)) {
- fprintf(stderr, "Gateway received message from outerspace: %d %d\n",
+ fprintf(stderr, "Gateway received message from outerspace: %lu %d\n",
slen, sizeof(addr));
return -1;
}