svn commit: r361107 - head/tools/tools/ath/athratestats

Adrian Chadd adrian at FreeBSD.org
Sat May 16 06:09:25 UTC 2020


Author: adrian
Date: Sat May 16 06:09:24 2020
New Revision: 361107
URL: https://svnweb.freebsd.org/changeset/base/361107

Log:
  [ath] ok ok, fix the indenting now that I have 5 column packet sizes.
  
  Now things line up nicely again.  There's a lot of them, and I don't have a long
  enough screen right now, but they at least line up right.

Modified:
  head/tools/tools/ath/athratestats/main.c

Modified: head/tools/tools/ath/athratestats/main.c
==============================================================================
--- head/tools/tools/ath/athratestats/main.c	Sat May 16 05:07:45 2020	(r361106)
+++ head/tools/tools/ath/athratestats/main.c	Sat May 16 06:09:24 2020	(r361107)
@@ -146,7 +146,7 @@ ath_sample_stats(struct ath_ratestats *r, struct ath_r
 		    sn->sample_tt[y]);
 		PRINTATTR_OFF(COLOR_PAIR(3) | A_BOLD);
 	}
-	PRINTMSG("   TX Rate     TXTOTAL:TXOK       EWMA          T/   F"
+	PRINTMSG("   TX Rate      TXTOTAL:TXOK       EWMA          T/   F"
 	    "     avg last xmit\n");
 	for (mask = sn->ratemask, rix = 0; mask != 0; mask >>= 1, rix++) {
 		if ((mask & 1) == 0)
@@ -164,7 +164,7 @@ ath_sample_stats(struct ath_ratestats *r, struct ath_r
 			else if (sn->stats[y][rix].ewma_pct / 10 < 75)
 				PRINTATTR_ON(COLOR_PAIR(1) | A_BOLD);
 #endif
-			PRINTMSG("[%2u %s:%4u] %8ju:%-8ju "
+			PRINTMSG("[%2u %s:%5u] %8ju:%-8ju "
 			    "(%3d.%1d%%) %8ju/%4d %5uuS %u\n",
 			    dot11rate(rt, rix),
 			    dot11str(rt, rix),


More information about the svn-src-all mailing list