From 8e04498f7552ea028317c0cd9f59f719274a8d6e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 2 Mar 2015 21:41:09 +0000 Subject: Update comment to match code; Caspar Schutijser --- lib/libc/string/strlcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/string/strlcat.c') 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 @@ -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) -- cgit v1.2.3