summaryrefslogtreecommitdiff
path: root/lib/libc/string/strlcat.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-03-02 21:41:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-03-02 21:41:09 +0000
commit8e04498f7552ea028317c0cd9f59f719274a8d6e (patch)
treee9c231a264dd64ec3bf5931dbe3e29be5453f468 /lib/libc/string/strlcat.c
parent1d23fdb41b0a345ce97c82fc71480cfc3ee68e4e (diff)
Update comment to match code; Caspar Schutijser
Diffstat (limited to 'lib/libc/string/strlcat.c')
-rw-r--r--lib/libc/string/strlcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strlcat.c b/lib/libc/string/strlcat.c
index 2c7404a5358..14c53a1f69c 100644
--- a/lib/libc/string/strlcat.c
+++ b/lib/libc/string/strlcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strlcat.c,v 1.14 2015/01/15 03:54:12 millert Exp $ */
+/* $OpenBSD: strlcat.c,v 1.15 2015/03/02 21:41:08 millert Exp $ */
/*
* Copyright (c) 1998, 2015 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -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)