libpayload: Fix documentation
authorPatrick Georgi <patrick.georgi@secunet.com>
Tue, 22 Mar 2011 13:40:09 +0000 (13:40 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Tue, 22 Mar 2011 13:40:09 +0000 (13:40 +0000)
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Patrick Georgi <patrick.georgi@secunet.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6459 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

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)