svn commit: r217775 - head/usr.bin/netstat
Robert Watson
rwatson at FreeBSD.org
Mon Jan 24 10:54:10 UTC 2011
Author: rwatson
Date: Mon Jan 24 10:54:09 2011
New Revision: 217775
URL: http://svn.freebsd.org/changeset/base/217775
Log:
Fix off-by-one whitespace error in netstat -Q workstream listing.
Reported by: bz
MFC after: 3 days
Sponsored by: Juniper Networks
Modified:
head/usr.bin/netstat/netisr.c
Modified: head/usr.bin/netstat/netisr.c
==============================================================================
--- head/usr.bin/netstat/netisr.c Mon Jan 24 09:24:20 2011 (r217774)
+++ head/usr.bin/netstat/netisr.c Mon Jan 24 10:54:09 2011 (r217775)
@@ -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_ne
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);
More information about the svn-src-all
mailing list