svn commit: r261875 - head/usr.bin/netstat

Adrian Chadd adrian at freebsd.org
Fri Feb 14 09:23:49 UTC 2014


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 at 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.


More information about the svn-src-all mailing list