aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tbf/TbfTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tbf/TbfTest.cpp')
-rw-r--r--tests/tbf/TbfTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index bdae4436..bf49dbde 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -328,7 +328,7 @@ static void test_tbf_exhaustion()
char imsi[16] = {0};
unsigned delay_csec = 1000;
- snprintf(imsi, sizeof(imsi)-1, "001001%9d", i);
+ snprintf(imsi, sizeof(imsi), "001001%09d", i);
rc = gprs_rlcmac_dl_tbf::handle(bts, tlli, 0, imsi, ms_class,
delay_csec, buf, sizeof(buf));