summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/libc/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/string.c b/payloads/libpayload/libc/string.c
index cc587c82a2..2e0a558b20 100644
--- a/payloads/libpayload/libc/string.c
+++ b/payloads/libpayload/libc/string.c
@@ -246,7 +246,7 @@ char *strncat(char *d, const char *s, size_t n)
*
* @param d The destination string.
* @param s The source string.
- * @param n Not more than n characters from s will be appended to d.
+ * @param n d will have at most n-1 characters (plus NUL) after invocation.
* @return A pointer to the destination string.
*/
size_t strlcat(char *d, const char *s, size_t n)