libpayload: Fix documentation
[coreboot.git] / payloads / libpayload / libc / string.c
index cc587c82a2989411a023d1a4faffe920795b1418..2e0a558b20c3a89d2f134ca40f67d74183bc6826 100644 (file)
@@ -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)