lkml.org 
[lkml]   [2013]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] lib: fix trivial typo in the comment
On Mon, 22 Apr 2013, Andy Shevchenko wrote:

> This fixes "iff" as "if".
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> lib/string.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/string.c b/lib/string.c
> index e5878de..e551284 100644
> --- a/lib/string.c
> +++ b/lib/string.c
> @@ -542,7 +542,7 @@ EXPORT_SYMBOL(sysfs_streq);
> * @s: input string
> * @res: result
> *
> - * This routine returns 0 iff the first character is one of 'Yy1Nn0'.
> + * This routine returns 0 if the first character is one of 'Yy1Nn0'.
> * Otherwise it will return -EINVAL. Value pointed to by res is
> * updated upon finding a match.
> */

And this is correct because ... ?

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2013-04-24 17:21    [W:0.043 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site