lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 14 Apr 2020 12:45:50 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Daniel Bovensiepen <daniel@...ensiepen.net>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: tools: string.c doc fix

On 4/14/20 11:54 AM, Daniel Bovensiepen wrote:
> Fix spelling error in the comment.

Nope, that's math-speak for "if and only if."

> Signed-off-by: Daniel Bovensiepen <daniel@...ensiepen.net>
> ---
>  tools/lib/string.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/lib/string.c b/tools/lib/string.c
> index f645343815de..f73a1020fad9 100644
> --- a/tools/lib/string.c
> +++ b/tools/lib/string.c
> @@ -41,7 +41,7 @@ void *memdup(const void *src, size_t len)
>   * @s: input string
>   * @res: result
>   *
> - * This routine returns 0 iff the first character is one of 'Yy1Nn0', or
> + * This routine returns 0 if the first character is one of 'Yy1Nn0', or
>   * [oO][NnFf] for "on" and "off". Otherwise it will return -EINVAL.  Value
>   * pointed to by res is updated upon finding a match.
>   */
> 

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ