summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2022-02-09 15:11:48 -0800
committerDamjan Marion <dmarion@me.com>2022-02-10 17:26:44 +0000
commit791144cbc5587d64253f3d89b5d2f0ae3f6dfb0d (patch)
treedda82fd74052006250e5ce2fb95b6206a6fbee31
parent137d4ca67bb525f2e2214cc42c2cb3866fc16dc4 (diff)
stats: Remove unsolicited clib_warning
It is annoying to see unsolicited message like this spew out to the console which an end-user cares less about. vlib_stats_rename_symlink:301: RENAME new name: /nodes/unix-cli-local:52/clocks Type: fix Fixes: I92a62bb1cb799e8fdc3ec4110ae3428825254f8a Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I071f3d3736c06cd95a38ec46c7e2222caad01283
-rw-r--r--src/vpp/stats/stat_segment.c2
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))