From 13c16cbd68e876392c6022362f1153878a95d96a Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 22 Mar 2011 13:40:09 +0000 Subject: [PATCH] libpayload: Fix documentation Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6459 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/libc/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/libpayload/libc/string.c b/payloads/libpayload/libc/string.c index cc587c82a..2e0a558b2 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) -- 2.25.1