svn commit: r296565 - head/lib/libc/sys
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Mar 9 13:45:05 UTC 2016
Author: trasz
Date: Wed Mar 9 13:45:03 2016
New Revision: 296565
URL: https://svnweb.freebsd.org/changeset/base/296565
Log:
Fix spelling of MAXNAMLEN.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Modified:
head/lib/libc/sys/getdirentries.2
Modified: head/lib/libc/sys/getdirentries.2
==============================================================================
--- head/lib/libc/sys/getdirentries.2 Wed Mar 9 11:45:48 2016 (r296564)
+++ head/lib/libc/sys/getdirentries.2 Wed Mar 9 13:45:03 2016 (r296565)
@@ -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 n
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.
More information about the svn-src-head
mailing list