summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-08-05 13:10:38 +0000
committerStefan Reinauer <stepan@openbios.org>2009-08-05 13:10:38 +0000
commit052d591e64e6f9bc1b1b50df1794aaf51efea0bc (patch)
tree90b6a00979b65768d62c91c4e98b15afaa4b7107 /payloads/libpayload
parentdec1b47bd721bbee2f1982b20e374f3615519f5b (diff)
downloadcoreboot-052d591e64e6f9bc1b1b50df1794aaf51efea0bc.tar.xz
fix buggy comment in libpayload's strncat function
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4499 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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 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)