From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 26 02:40:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4739B1065670 for ; Fri, 26 Dec 2008 02:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 23D7A8FC17 for ; Fri, 26 Dec 2008 02:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBQ2e1Cq020712 for ; Fri, 26 Dec 2008 02:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBQ2e1S6020711; Fri, 26 Dec 2008 02:40:01 GMT (envelope-from gnats) Resent-Date: Fri, 26 Dec 2008 02:40:01 GMT Resent-Message-Id: <200812260240.mBQ2e1S6020711@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce Cran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F93A1065674 for ; Fri, 26 Dec 2008 02:34:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2E1678FC0C for ; Fri, 26 Dec 2008 02:34:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mBQ2YfQZ018002 for ; Fri, 26 Dec 2008 02:34:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mBQ2Yf3K018001; Fri, 26 Dec 2008 02:34:41 GMT (envelope-from nobody) Message-Id: <200812260234.mBQ2Yf3K018001@www.freebsd.org> Date: Fri, 26 Dec 2008 02:34:41 GMT From: Bruce Cran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/129938: [patch] Fix netstat(1) typo "calcurations" in statistics output X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2008 02:40:02 -0000 >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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 26 02:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 8.0-CURRENT >Organization: >Environment: FreeBSD tau.draftnet 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Dec 25 04:09:10 GMT 2008 brucec@tau.draftnet:/usr/obj/usr/src/sys/DELL amd64 >Description: The rip6 section of "netstat -s" contains the string: 0 checksum calcurations on inbound "calcurations" should probably be "calculations" >How-To-Repeat: netstat -s >Fix: 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"); p(rip6s_nosockmcast, >Release-Note: >Audit-Trail: >Unformatted: