aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-14 01:19:53 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-14 01:22:12 +0200
commitfb78397cbdc652a24a7b9d0487f761ccde21728a (patch)
tree70b74458a88b8c4ec690ac8b103c8e9f1d275eb5 /src/common/main.c
parentfe6c75d24a1751341bcee91cb45c7ac7f5d07da3 (diff)
Fix build after recent gsm_bts_alloc() change
In openbsc.git Change-Id I61c18a7f021fcb1ec00d34a745f4e3ab03416c2d we changed the gsm_bts_alloc() function signature to include a second argument (the BTS number). This broke omso-bts, and this commit is intended to make it build again. Change-Id: I7ef7654d48c1cfc7e4ecb0b771553ec0740ce2bf
Diffstat (limited to 'src/common/main.c')
-rw-r--r--src/common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/main.c b/src/common/main.c
index 4c518485..6c13663f 100644
--- a/src/common/main.c
+++ b/src/common/main.c
@@ -241,7 +241,7 @@ int bts_main(int argc, char **argv)
handle_options(argc, argv);
- bts = gsm_bts_alloc(tall_bts_ctx);
+ bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (!bts) {
fprintf(stderr, "Failed to create BTS structure\n");
exit(1);