summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcpy.3
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-19 11:29:58 +0000
committerkris <kris@FreeBSD.org>2000-11-19 11:29:58 +0000
commit21ab1b113eabff15807530dd724789f4efa36213 (patch)
treea5b05342e410c802d78a177a35c4c8783964b295 /lib/libc/string/strlcpy.3
parentdf871b4bd559eb925f905068314a61294e8a1135 (diff)
downloadFreeBSD-src-21ab1b113eabff15807530dd724789f4efa36213.zip
FreeBSD-src-21ab1b113eabff15807530dd724789f4efa36213.tar.gz
MAXPATHNAMELEN -> MAXPATHLEN
Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD Obtained from: OpenBSD
Diffstat (limited to 'lib/libc/string/strlcpy.3')
-rw-r--r--lib/libc/string/strlcpy.32
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3
index 7ae3443..0f2be7c 100644
--- a/lib/libc/string/strlcpy.3
+++ b/lib/libc/string/strlcpy.3
@@ -114,7 +114,7 @@ char *s, *p, buf[BUFSIZ];
To detect truncation, perhaps while building a pathname, something
like the following might be used:
.Bd -literal -offset indent
-char *dir, *file, pname[MAXPATHNAMELEN];
+char *dir, *file, pname[MAXPATHLEN];
.Li ...
OpenPOWER on IntegriCloud