fix buggy comment in libpayload's strncat function
authorStefan Reinauer <stepan@coresystems.de>
Wed, 5 Aug 2009 13:10:38 +0000 (13:10 +0000)
committerStefan Reinauer <stepan@openbios.org>
Wed, 5 Aug 2009 13:10:38 +0000 (13:10 +0000)
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

payloads/libpayload/libc/string.c

index ec6be1dfb49d79eeb3c03f2031dd6082e2d705fc..81cce26a61ed25293101b48dd146db037373a62f 100644 (file)
@@ -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)