summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-03-02 21:41:08 +0000
committermillert <millert@openbsd.org>2015-03-02 21:41:08 +0000
commit2cfe98456ab9e246b0ad8fdcf204cab3a2a5b621 (patch)
tree1719086a5409610ea890684e62e032184df3d543 /lib/libc
parentDocument that POLLPRI and POLLRDBAND are set for out-of-band socket (diff)
downloadwireguard-openbsd-2cfe98456ab9e246b0ad8fdcf204cab3a2a5b621.tar.xz
wireguard-openbsd-2cfe98456ab9e246b0ad8fdcf204cab3a2a5b621.zip
Update comment to match code; Caspar Schutijser
Diffstat (limited to 'lib/libc')
-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)