[PATCH] clarify strim function description

Aleksey Kuleshov rndfax at yandex.ru
Thu Aug 18 04:29:03 PDT 2016


Signed-off-by: Aleksey Kuleshov <rndfax at yandex.ru>
---
 lib/string.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/string.c b/lib/string.c
index a3e9fd8..1d491c9 100644
--- a/lib/string.c
+++ b/lib/string.c
@@ -641,7 +641,7 @@ char *skip_spaces(const char *str)
 }
 
 /**
- * strim - Removes leading and trailing whitespace from @s.
+ * strim - Removes trailing whitespace from @s.
  * @s: The string to be stripped.
  *
  * Note that the first trailing whitespace is replaced with a %NUL-terminator
-- 
2.8.0.rc3




More information about the barebox mailing list