r1062 - trunk/varnish-cache/bin/varnishstat

des at projects.linpro.no des at projects.linpro.no
Mon Sep 18 10:55:00 CEST 2006


Author: des
Date: 2006-09-18 10:55:00 +0200 (Mon, 18 Sep 2006)
New Revision: 1062

Modified:
   trunk/varnish-cache/bin/varnishstat/varnishstat.c
Log:
Widen fields sufficiently to accomodate gigabit rates.

Modified: trunk/varnish-cache/bin/varnishstat/varnishstat.c
===================================================================
--- trunk/varnish-cache/bin/varnishstat/varnishstat.c	2006-09-18 07:36:33 UTC (rev 1061)
+++ trunk/varnish-cache/bin/varnishstat/varnishstat.c	2006-09-18 08:55:00 UTC (rev 1062)
@@ -85,7 +85,7 @@
 
 #define MAC_STAT(n,t,f,d) \
 		ju = VSL_stats->n; \
-		printw("%12ju  %10.2f %10.2f " d "\n", \
+		printw("%12ju %12.2f %12.2f " d "\n", \
 		    ju, (ju - (intmax_t)copy.n)/lt, ju / up); \
 		copy.n = ju;
 #include "stat_field.h"




More information about the varnish-commit mailing list