summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksey Kuleshov <rndfax@yandex.ru>2016-08-18 14:29:03 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2016-08-22 07:47:30 +0200
commiteb2b2e26472abde7b5f1850a7bd9c2cc2c17d27d (patch)
tree3763757919e01b6a4e97599a4c4e62dbbfac05e8 /lib
parentd97eeac4e21f1a4035c699c9214b0d3fb5a9be72 (diff)
downloadbarebox-eb2b2e26472abde7b5f1850a7bd9c2cc2c17d27d.tar.gz
barebox-eb2b2e26472abde7b5f1850a7bd9c2cc2c17d27d.tar.xz
clarify strim function description
Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/string.c b/lib/string.c
index a3e9fd819b..1d491c9c2f 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