Re: git: 42efe994ece3 - main - ffs(3): Fix a typo in a sysctl description

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Sat, 04 Dec 2021 12:48:04 UTC
On Sat, 4 Dec 2021 11:17:08 GMT
Gordon Bergling <gbe@FreeBSD.org> wrote:

> The branch main has been updated by gbe (doc committer):
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=42efe994ece337929b6f9937829f7970e620db9b
> 
> commit 42efe994ece337929b6f9937829f7970e620db9b
> Author:     Gordon Bergling <gbe@FreeBSD.org>
> AuthorDate: 2021-12-04 11:15:34 +0000
> Commit:     Gordon Bergling <gbe@FreeBSD.org>
> CommitDate: 2021-12-04 11:15:34 +0000
> 
>     ffs(3): Fix a typo in a sysctl description
>     
>     - s/contigous/continuous/
>     
>     MFC after:      3 days
> ---
>  sys/ufs/ffs/ffs_alloc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
> index 42708e3dce71..66771cdcc2ce 100644
> --- a/sys/ufs/ffs/ffs_alloc.c
> +++ b/sys/ufs/ffs/ffs_alloc.c
> @@ -501,7 +501,7 @@ SYSCTL_INT(_vfs_ffs, OID_AUTO, dotrimcons, CTLFLAG_RWTUN, &dotrimcons, 0,
>  
>  static int maxclustersearch = 10;
>  SYSCTL_INT(_vfs_ffs, OID_AUTO, maxclustersearch, CTLFLAG_RW, &maxclustersearch,
> -0, "max number of cylinder group to search for contigous blocks");
> +0, "max number of cylinder group to search for continuous blocks");
>  

I suspect that this should be contiguous and not continuous.  Makes
more sense from the POV of the filesystem layout.

It should also be ffs(7).  That man page uses contiguous.  ffs(3) has
nothing to do with the ffs filesystem.

>  #ifdef DIAGNOSTIC
>  static int prtrealloc = 0;
> 


-- 
Gary Jennejohn