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
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D49941

(cherry picked from commit 4294f7946e4cd8face2bfa16cedc5c0bf0d6c81e)
This commit is contained in:
Michael Tuexen 2025-04-21 18:23:19 +02:00
parent a1b159bb3e
commit 0cd8d6dd11

View file

@ -344,7 +344,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",