summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_fpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/test_fpool.c')
-rw-r--r--src/vppinfra/test_fpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/test_fpool.c b/src/vppinfra/test_fpool.c
index e2d67f16907..02d9d219717 100644
--- a/src/vppinfra/test_fpool.c
+++ b/src/vppinfra/test_fpool.c
@@ -30,7 +30,7 @@ main (int argc, char *argv[])
clib_mem_init (0, 3ULL << 30);
vec_validate (indices, NELTS - 1);
- _vec_len (indices) = 0;
+ vec_set_len (indices, 0);
pool_init_fixed (tp, NELTS);