From 052d591e64e6f9bc1b1b50df1794aaf51efea0bc Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 5 Aug 2009 13:10:38 +0000 Subject: fix buggy comment in libpayload's strncat function Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4499 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 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) -- cgit v1.2.3