bin/129938: [patch] Fix netstat(1) typo "calcurations" in statistics output

Bruce Cran bruce at
Thu Dec 25 18:40:02 PST 2008

>Number:         129938
>Category:       bin
>Synopsis:       [patch] Fix netstat(1) typo "calcurations" in statistics output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 26 02:40:01 UTC 2008
>Originator:     Bruce Cran
>Release:        8.0-CURRENT
FreeBSD tau.draftnet 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Dec 25 04:09:10 GMT 2008  brucec at tau.draftnet:/usr/obj/usr/src/sys/DELL amd64
The rip6 section of "netstat -s" contains the string:

0 checksum calcurations on inbound

"calcurations" should probably be "calculations"
netstat -s

Patch attached with submission follows:

--- /usr/src/usr.bin/netstat/inet6.c	2008-03-18 15:04:05.000000000 +0000
+++ inet6.c	2008-12-26 02:27:16.000000000 +0000
@@ -1058,7 +1058,7 @@
 #define	p(f, m) if (rip6stat.f || sflag <= 1) \
     printf(m, (uintmax_t)rip6stat.f, plural(rip6stat.f))
 	p(rip6s_ipackets, "\t%ju message%s received\n");
-	p(rip6s_isum, "\t%ju checksum calcuration%s on inbound\n");
+	p(rip6s_isum, "\t%ju checksum calculation%s on inbound\n");
 	p(rip6s_badsum, "\t%ju message%s with bad checksum\n");
 	p(rip6s_nosock, "\t%ju message%s dropped due to no socket\n");


More information about the freebsd-bugs mailing list