summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-03-22 13:40:09 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-03-22 13:40:09 +0000
commit13c16cbd68e876392c6022362f1153878a95d96a (patch)
tree21206c2b0bf71e28706ebf1baa8610026e2d90f3 /payloads
parent0446f9630b85e9431d7d428c34623e36cc753b24 (diff)
downloadcoreboot-13c16cbd68e876392c6022362f1153878a95d96a.tar.xz
libpayload: Fix documentation
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
Diffstat (limited to 'payloads')
-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)