public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: tools: string.c doc fix
@ 2020-04-14 18:54 Daniel Bovensiepen
  2020-04-14 19:45 ` Randy Dunlap
  2020-04-15  7:29 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Bovensiepen @ 2020-04-14 18:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-15  7:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-14 18:54 [PATCH] staging: tools: string.c doc fix Daniel Bovensiepen
2020-04-14 19:45 ` Randy Dunlap
2020-04-15  7:29 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox