Re: [PATCH] openat2.2, loop.4: tfix: s/non-zero/nonzero/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alex,

On 10/22/20 10:43 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx>
> ---
> 
> Hi Michael,
> 
> I saw your tfix and found a few more instances of non-zero.

:-)

Thanks! Patch applied.

Cheers,

Michael

> Best,
> 
> Alex
> 
>  man2/openat2.2 | 6 +++---
>  man4/loop.4    | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man2/openat2.2 b/man2/openat2.2
> index 53056ee6d..ff5204040 100644
> --- a/man2/openat2.2
> +++ b/man2/openat2.2
> @@ -169,7 +169,7 @@ contains bits other than
>  .IR 07777 .
>  Similarly, an error is returned if
>  .BR openat2 ()
> -is called with a non-zero
> +is called with a nonzero
>  .IR how.mode
>  and
>  .IR how.flags
> @@ -427,7 +427,7 @@ An unknown flag or invalid value was specified in
>  .TP
>  .B EINVAL
>  .I mode
> -is non-zero, but
> +is nonzero, but
>  .I how.flags
>  does not contain
>  .BR O_CREAT
> @@ -535,7 +535,7 @@ is aware of but which the kernel does not support.
>  Because any extension field must have its zero values signify a no-op,
>  the kernel can
>  safely ignore the unsupported extension fields if they are all-zero.
> -If any unsupported extension fields are non-zero, then \-1 is returned and
> +If any unsupported extension fields are nonzero, then \-1 is returned and
>  .I errno
>  is set to
>  .BR E2BIG .
> diff --git a/man4/loop.4 b/man4/loop.4
> index 1b5d05666..b7f82e5d4 100644
> --- a/man4/loop.4
> +++ b/man4/loop.4
> @@ -174,7 +174,7 @@ it can be used to open backing file.
>  The (third)
>  .BR ioctl (2)
>  argument is an unsigned long value.
> -A non-zero represents direct I/O mode.
> +A nonzero represents direct I/O mode.
>  .TP
>  .BR LOOP_SET_BLOCK_SIZE " (since Linux 4.14)"
>  .\" commit 89e4fdecb51cf5535867026274bc97de9480ade5
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux