summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-10-13 15:10:29 -0700
committerOle Tr�an <otroan@employees.org>2020-10-14 09:20:59 +0000
commit8cf1f93820f4a2b2d0c5b30120cbbbfcb4e7a835 (patch)
treea341d94a579f266c5f82ce241f4246e9d45b16a7
parenta49d59dfe9198c05516dae0ff0e4d4d3b63755dc (diff)
vlib: avoid clipping in show error
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ia884d745a11565918c7bf89435ceb0e17b6aef59
-rw-r--r--src/vlib/error.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vlib/error.c b/src/vlib/error.c
index 1b3f3786371..7f69140abe2 100644
--- a/src/vlib/error.c
+++ b/src/vlib/error.c
@@ -247,10 +247,10 @@ show_errors (vlib_main_t * vm,
vec_validate (sums, vec_len (em->counters));
if (verbose)
- vlib_cli_output (vm, "%=10s%=30s%=20s%=10s%=6s", "Count", "Node",
+ vlib_cli_output (vm, "%=10s%=35s%=35s%=10s%=6s", "Count", "Node",
"Reason", "Severity", "Index");
else
- vlib_cli_output (vm, "%=10s%=30s%=20s%=10s", "Count", "Node", "Reason",
+ vlib_cli_output (vm, "%=10s%=35s%=35s%=10s", "Count", "Node", "Reason",
"Severity");
@@ -277,11 +277,11 @@ show_errors (vlib_main_t * vm,
continue;
if (verbose)
- vlib_cli_output (vm, "%10lu%=30v%=20s%=10s%=6d", c, n->name,
+ vlib_cli_output (vm, "%10lu%=35v%=35s%=10s%=6d", c, n->name,
em->counters_heap[i].name,
sev2str(em->counters_heap[i].severity), i);
else
- vlib_cli_output (vm, "%10lu%=30v%=20s%=10s", c, n->name,
+ vlib_cli_output (vm, "%10lu%=35v%=35s%=10s", c, n->name,
em->counters_heap[i].name,
sev2str(em->counters_heap[i].severity));
}