Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 01:23:48 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r261875 - head/usr.bin/netstat
Message-ID:  <CAJ-VmomRgpbasSunVZFgLBHv9kJ77md25iW9_=QB6cX7BnOgfQ@mail.gmail.com>
In-Reply-To: <20140214075100.GD26785@FreeBSD.org>
References:  <201402140743.s1E7he4O010232@svn.freebsd.org> <20140214075100.GD26785@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
ew, ok. Sorry. We don't have a generic way of doing that. I'll fix it in the am.


-a


On 13 February 2014 23:51, Gleb Smirnoff <glebius@freebsd.org> wrote:
> On Fri, Feb 14, 2014 at 07:43:40AM +0000, Adrian Chadd wrote:
> A> Author: adrian
> A> Date: Fri Feb 14 07:43:39 2014
> A> New Revision: 261875
> A> URL: http://svnweb.freebsd.org/changeset/base/261875
> A>
> A> Log:
> A>   Reword.
> A>
> A>   Suggestion:        glebius
> A>
> A> Modified:
> A>   head/usr.bin/netstat/flowtable.c
> A>
> A> Modified: head/usr.bin/netstat/flowtable.c
> A> ==============================================================================
> A> --- head/usr.bin/netstat/flowtable.c Fri Feb 14 07:36:04 2014        (r261874)
> A> +++ head/usr.bin/netstat/flowtable.c Fri Feb 14 07:43:39 2014        (r261875)
> A> @@ -55,7 +55,7 @@ print_stats(struct flowtable_stat *stat)
> A>      p(ft_collisions, "\t%ju collision%s\n");
> A>      p(ft_free_checks, "\t%ju free check%s\n");
> A>      p(ft_frees, "\t%ju free%s\n");
> A> -    p(ft_fail_lle_invalid, "\t%ju lookups w/ no resolved ARP%s\n");
> A> +    p(ft_fail_lle_invalid, "\t%ju lookups w/ no resolved Layer 2 address%s\n");
> A>
> A>  #undef      p2
> A>  #undef      p
>
> Oh, sorry this is not correct. We need the plural() output after "lookup",
> not after "address".
>
> We need:
>
>         1 lookup w/ no resolved Layer 2 address
>         2 lookups w/ no resolved Layer 2 address
>
> We don't want:
>
>         1 lookups w/ no resolved Layer 2 address
>         2 lookups w/ no resolved Layer 2 addresss
>
> --
> Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomRgpbasSunVZFgLBHv9kJ77md25iW9_=QB6cX7BnOgfQ>