A similar change has been made to strlcpy.c when it was updated to
make the code slightly easier to read.

Best regards,
Caspar Schutijser

Index: strlcat.c
===================================================================
RCS file: /cvs/src/lib/libc/string/strlcat.c,v
retrieving revision 1.14
diff -u -p -u -r1.14 strlcat.c
--- strlcat.c   15 Jan 2015 03:54:12 -0000      1.14
+++ strlcat.c   2 Mar 2015 21:28:41 -0000
@@ -24,7 +24,7 @@
 * full size of dst, not space left).  At most dsize-1 characters
 * will be copied.  Always NUL terminates (unless dsize <= strlen(dst)).
 * Returns strlen(src) + MIN(dsize, strlen(initial dst)).
- * If retval >= siz, truncation occurred.
+ * If retval >= dsize, truncation occurred.
 */
size_t
strlcat(char *dst, const char *src, size_t dsize)


Reply via email to