summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ec6be1dfb4..81cce26a61 100644
--- a/payloads/libpayload/libc/string.c
+++ b/payloads/libpayload/libc/string.c
@@ -165,7 +165,7 @@ char *strcpy(char *d, const char *s)
*
* @param d The destination string.
* @param s The source string.
- * @param n The target string will have a length of n characters at most.
+ * @param n Not more than n characters from s will be appended to d.
* @return A pointer to the destination string.
*/
char *strncat(char *d, const char *s, size_t n)