vlib: fix u64 error counter cli printing
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie35dc623394cfb6c358740361fd85aa0924ab187
This commit is contained in:

committed by
Florin Coras

parent
bedf48a17c
commit
1ae16c8f3b
@@ -247,10 +247,10 @@ show_errors (vlib_main_t * vm,
|
||||
continue;
|
||||
|
||||
if (verbose)
|
||||
vlib_cli_output (vm, "%10Ld%=40v%=20s%=6d", c, n->name,
|
||||
vlib_cli_output (vm, "%10lu%=40v%=20s%=6d", c, n->name,
|
||||
em->error_strings_heap[i], i);
|
||||
else
|
||||
vlib_cli_output (vm, "%10d%=40v%s", c, n->name,
|
||||
vlib_cli_output (vm, "%10lu%=40v%s", c, n->name,
|
||||
em->error_strings_heap[i]);
|
||||
}
|
||||
}
|
||||
@@ -270,7 +270,7 @@ show_errors (vlib_main_t * vm,
|
||||
if (sums[i])
|
||||
{
|
||||
if (verbose)
|
||||
vlib_cli_output (vm, "%10Ld%=40v%=20s%=10d", sums[i], n->name,
|
||||
vlib_cli_output (vm, "%10lu%=40v%=20s%=10d", sums[i], n->name,
|
||||
em->error_strings_heap[i], i);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user