summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-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