summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/vec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/vec.c')
-rw-r--r--src/vppinfra/vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/vec.c b/src/vppinfra/vec.c
index 97e2762ecbf..db84c1463a0 100644
--- a/src/vppinfra/vec.c
+++ b/src/vppinfra/vec.c
@@ -154,7 +154,7 @@ vec_resize_allocate_memory (void *v,
__clib_export uword
clib_mem_is_vec_h (void *v, uword header_bytes)
{
- return clib_mem_is_heap_object (vec_header (v, header_bytes));
+ return clib_mem_is_heap_object (vec_header (v));
}
__clib_export u32