aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cipher/cipher_test.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-14 01:19:53 +0200
committerIvan Kluchnikov <kluchnikovi@gmail.com>2017-08-29 15:56:38 +0300
commitf4a74c21041345a5566e3b1f4e44d08ec6368119 (patch)
tree5d7b0d9d7a2d9ea7aaf0d17eca424bd8c1edd820 /tests/cipher/cipher_test.c
parent50629b6ba57e7e53fb16bd95a94167329bb0f70c (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 'tests/cipher/cipher_test.c')
-rw-r--r--tests/cipher/cipher_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cipher/cipher_test.c b/tests/cipher/cipher_test.c
index c913925e..07d9fdee 100644
--- a/tests/cipher/cipher_test.c
+++ b/tests/cipher/cipher_test.c
@@ -71,7 +71,7 @@ int main(int argc, char **argv)
bts_log_init(NULL);
- bts = gsm_bts_alloc(tall_bts_ctx);
+ bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (bts_init(bts) < 0) {
fprintf(stderr, "unable to open bts\n");
exit(1);