git: 4294f7946e4c - main - netstat: fix table header alignment for -x
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Apr 2025 16:25:32 UTC
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=4294f7946e4cd8face2bfa16cedc5c0bf0d6c81e commit 4294f7946e4cd8face2bfa16cedc5c0bf0d6c81e Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2025-04-21 16:23:19 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2025-04-21 16:23:19 +0000 netstat: fix table header alignment for -x Add a missing space before R-HIWA to align the table header with the table contents. Reviewed by: rrs, cc MFC after: 3 days Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D49941 --- usr.bin/netstat/inet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 6065a2a7644c..56a432b30a86 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -337,7 +337,7 @@ protopr(u_long off, const char *name, int af1, int proto) xo_emit(" {T:/%-11.11s}", "(state)"); } if (xflag) { - xo_emit("{T:/%-6.6s} {T:/%-6.6s} " + xo_emit(" {T:/%-6.6s} {T:/%-6.6s} " "{T:/%-6.6s} {T:/%-6.6s} {T:/%-6.6s} " "{T:/%-6.6s} {T:/%-6.6s} {T:/%-6.6s}", "R-HIWA", "S-HIWA", "R-LOWA", "S-LOWA",