diff options
Diffstat (limited to 'src/vppinfra/pool.h')
-rw-r--r-- | src/vppinfra/pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/pool.h b/src/vppinfra/pool.h index 32b42b175b3..35c8e1e7b30 100644 --- a/src/vppinfra/pool.h +++ b/src/vppinfra/pool.h @@ -163,7 +163,7 @@ pool_header_bytes (void *v) #define _pool_var(v) _pool_##v /** Number of elements that can fit into pool with current allocation */ -#define pool_max_len(P) vec_max_elts (P, pool_aligned_header_bytes) +#define pool_max_len(P) vec_max_len (P) /** Number of free elements in pool */ #define pool_free_elts(P) \ |