summaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/bitmap_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/unittest/bitmap_test.c')
-rw-r--r--src/plugins/unittest/bitmap_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/bitmap_test.c b/src/plugins/unittest/bitmap_test.c
index 04a06d39a18..adee9764f46 100644
--- a/src/plugins/unittest/bitmap_test.c
+++ b/src/plugins/unittest/bitmap_test.c
@@ -30,7 +30,7 @@ test_bitmap_command_fn (vlib_main_t * vm,
junk = clib_bitmap_next_clear (bm, 65);
bm2 = clib_bitmap_set_multiple (bm2, 0, ~0ULL, BITS (uword));
- _vec_len (bm2) = 1;
+ vec_set_len (bm2, 1);
junk = clib_bitmap_next_clear (bm2, 0);