From: Daniel Bovensiepen <daniel@bovensiepen.net>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] staging: tools: string.c doc fix
Date: Tue, 14 Apr 2020 20:54:30 +0200 [thread overview]
Message-ID: <20200414185430.GA14496@daboVM> (raw)
Fix spelling error in the comment.
Signed-off-by: Daniel Bovensiepen <daniel@bovensiepen.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.
*/
--
2.17.1
next reply other threads:[~2020-04-14 18:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 18:54 Daniel Bovensiepen [this message]
2020-04-14 19:45 ` [PATCH] staging: tools: string.c doc fix Randy Dunlap
2020-04-15 7:29 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200414185430.GA14496@daboVM \
--to=daniel@bovensiepen.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox