summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-03-09 13:45:03 +0000
committertrasz <trasz@FreeBSD.org>2016-03-09 13:45:03 +0000
commita4277f9c743fec1eacb828875064a7c64c8e2647 (patch)
tree36f74dbaa66d60278b5ddc685eda3ac44abb6ab2 /lib/libc
parent9a94f84b4105b35133c4ba9e48e931c1e0ea0b93 (diff)
downloadFreeBSD-src-a4277f9c743fec1eacb828875064a7c64c8e2647.zip
FreeBSD-src-a4277f9c743fec1eacb828875064a7c64c8e2647.tar.gz
Fix spelling of MAXNAMLEN.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getdirentries.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2
index ab60ed2..e4f61db 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -75,7 +75,7 @@ uint32_t d_fileno;
uint16_t d_reclen;
uint8_t d_type;
uint8_t d_namlen;
-char d_name[MAXNAMELEN + 1]; /* see below */
+char d_name[MAXNAMLEN + 1]; /* see below */
.Ed
.Pp
The
@@ -103,7 +103,7 @@ entry specifies the length of the file name excluding the null byte.
Thus the actual size of
.Fa d_name
may vary from 1 to
-.Dv MAXNAMELEN
+.Dv MAXNAMLEN
\&+ 1.
.Pp
Entries may be separated by extra space.
OpenPOWER on IntegriCloud