aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-30 18:10:31 +0200
committerHarald Welte <laforge@osmocom.org>2020-07-01 09:54:30 +0200
commit36166d0a8d109b8f8c501bbd16652c3ebc086f2e (patch)
treeececfc80e2404a9e2d880560e186067b1e17602a
parent89c6b8a42e6262320d129c3c68862618c4410fc1 (diff)
fix compilation with --enable-e1d
In Commit Ib81a749ae24013b17caaf5fd64ccd9acbbc3ce08 we introduced a syntax error leading to compile failure sfor --enable-e1d ever since. This hsan't been discovered as osmo-e1d support is not built automatically anywhere. Change-Id: If1f4bd9469a614470045716df4c35187ff2cc76b
-rw-r--r--src/input/e1d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/e1d.c b/src/input/e1d.c
index f7a0b18..4fc0749 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -256,7 +256,7 @@ e1d_line_update(struct e1inp_line *line)
if (!e1i_ts->lapd) {
char name[32];
- e1inp_ts_name(name, e1i_ts);
+ e1inp_ts_name(name, sizeof(name), e1i_ts);
e1i_ts->lapd = lapd_instance_alloc2(1,
e1d_write_msg, bfd, e1inp_dlsap_up,
e1i_ts, &lapd_profile_abis, name);