diff options
-rw-r--r-- | src/vpp/stats/stat_segment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/stats/stat_segment.c b/src/vpp/stats/stat_segment.c index c43f16f0db4..3ab60b912cb 100644 --- a/src/vpp/stats/stat_segment.c +++ b/src/vpp/stats/stat_segment.c @@ -298,7 +298,7 @@ vlib_stats_rename_symlink (void *oldheap, u64 index, u8 *new_name) { stat_segment_main_t *sm = &stat_segment_main; stat_segment_directory_entry_t *e; - clib_warning ("RENAME new name: %s", new_name); + ASSERT (clib_mem_get_heap () == sm->heap); ASSERT (index < vec_len (sm->directory_vector)); if (index > vec_len (sm->directory_vector)) |