summaryrefslogtreecommitdiffstats
path: root/lib/thread.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-07 15:25:53 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-07 15:29:45 +0200
commit9a8a7b0ed1e9f464ab26b6271940eb802b6c77f5 (patch)
tree1d9d9cc7720448f37ef375537cc16f8705a40154 /lib/thread.c
parentMerge pull request #4449 from opensourcerouting/py-detect (diff)
downloadfrr-9a8a7b0ed1e9f464ab26b6271940eb802b6c77f5.tar.xz
frr-9a8a7b0ed1e9f464ab26b6271940eb802b6c77f5.zip
lib, pimd, sharpd: Various output string cleanups
Various compilers in our CI system were complaining about various auto-conversions. Let's get these cleaned up a bit more. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.c b/lib/thread.c
index d3fb2cdf3..3879e936a 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -95,7 +95,7 @@ static void cpu_record_hash_free(void *a)
static void vty_out_cpu_thread_history(struct vty *vty,
struct cpu_thread_history *a)
{
- vty_out(vty, "%5zu %10zu.%03lu %9zu %8zu %9zu %8lu %9lu",
+ vty_out(vty, "%5zu %10zu.%03zu %9zu %8zu %9zu %8zu %9zu",
a->total_active, a->cpu.total / 1000, a->cpu.total % 1000,
a->total_calls, a->cpu.total / a->total_calls, a->cpu.max,
a->real.total / a->total_calls, a->real.max);