summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-14 16:52:01 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-14 16:52:01 +0000
commitb65a201c4f524ae94b1e9d9611abf7555cf6422c (patch)
treeae6e91f7b3b50c91cdfd7caa98edd980238dab72
parent8960fb7a84220a296640b2d5ac5f7968ba6c9a74 (diff)
MAXNAMELEN -> MAXNAMLEN
ok jmc@
-rw-r--r--lib/libc/sys/getdirentries.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2
index 1a62886d008..7317d3f2681 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdirentries.2,v 1.14 2003/07/04 22:07:45 millert Exp $
+.\" $OpenBSD: getdirentries.2,v 1.15 2004/07/14 16:52:00 jfb Exp $
.\" $NetBSD: getdirentries.2,v 1.7 1995/10/12 15:40:50 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -67,7 +67,7 @@ u_int32_t d_fileno;
u_int16_t d_reclen;
u_int8_t d_type;
u_int8_t d_namlen;
-char d_name[MAXNAMELEN + 1]; /* see below */
+char d_name[MAXNAMLEN + 1]; /* see below */
.Ed
.Pp
The
@@ -101,7 +101,7 @@ entry specifies the length of the file name excluding the NUL byte.
Thus the actual size of
.Fa d_name
may vary from 1 to
-.Dv MAXNAMELEN
+.Dv MAXNAMLEN
\&+ 1.
.Pp
The