diff options
Diffstat (limited to 'src/vlib/stats/provider_mem.c')
-rw-r--r-- | src/vlib/stats/provider_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/stats/provider_mem.c b/src/vlib/stats/provider_mem.c index d52ea4aa0e5..1f6d646011a 100644 --- a/src/vlib/stats/provider_mem.c +++ b/src/vlib/stats/provider_mem.c @@ -55,7 +55,7 @@ vlib_stats_register_mem_heap (clib_mem_heap_t *heap) vec_add1 (memory_heaps_vec, heap); r.entry_index = idx = vlib_stats_add_counter_vector ("/mem/%s", heap->name); - vlib_stats_validate_counter_vector (idx, STAT_MEM_RELEASABLE); + vlib_stats_validate (idx, 0, STAT_MEM_RELEASABLE); /* Create symlink */ vlib_stats_add_symlink (idx, STAT_MEM_TOTAL, "/mem/%s/used", heap->name); |