Fix off-by-one whitespace error in netstat -Q workstream listing.
Reported by: bz MFC after: 3 days Sponsored by: Juniper Networks
This commit is contained in:
parent
f1bfc8aba8
commit
7ff67a2025
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 2010 Juniper Networks, Inc.
|
||||
* Copyright (c) 2010-2011 Juniper Networks, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software was developed by Robert N. M. Watson under contract
|
||||
@ -445,11 +445,11 @@ netisr_print_workstream(struct sysctl_netisr_workstream *snwsp)
|
||||
if (snwp->snw_wsid != snwsp->snws_wsid)
|
||||
continue;
|
||||
if (first) {
|
||||
printf("%4u", snwsp->snws_wsid);
|
||||
printf(" %3u", snwsp->snws_cpu);
|
||||
printf("%4u ", snwsp->snws_wsid);
|
||||
printf("%3u ", snwsp->snws_cpu);
|
||||
first = 0;
|
||||
} else
|
||||
printf("%4s %3s", "", "");
|
||||
printf("%4s %3s ", "", "");
|
||||
printf("%2s", "");
|
||||
printf("%-6s", netisr_proto2name(snwp->snw_proto));
|
||||
printf(" %5u", snwp->snw_len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user