[PATCH] staging: tools: string.c doc fix

From: Daniel Bovensiepen
Date: Tue Apr 14 2020 - 14:54:39 EST


Fix spelling error in the comment.

Signed-off-by: Daniel Bovensiepen <daniel@xxxxxxxxxxxxxxx>
---
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