staging: tools: string.c doc fix
PATCH 1/1 staging: tools: string.c doc fix
Fix spelling error in the comment.
Signed-off-by Daniel Bovensiepen <[email protected]>
--- tools/lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/string.c +1 -1
@@ -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. */
Signature · 1 line
2.17.1
Quoted 1 line · Daniel Bovensiepen
Fix spelling error in the comment.
Nope, that's math-speak for "if and only if."
Quoted 19 lines
Signed-off-by Daniel Bovensiepen <[email protected]>--- tools/lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/lib/string.c +1
-1@@ -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. */
Signature · 1 line
~Randy
Quoted 6 lines · Daniel Bovensiepen
Fix spelling error in the comment.
Signed-off-by Daniel Bovensiepen <[email protected]>--- tools/lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Your subject does not match the patch (hint, this is not a drivers/staging patch...)