[PATCH 2/5] readdir.3: ffix

David Prévot
2012-08-13T01:34:25Z

---
man3/readdir.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/readdir.3 b/man3/readdir.3
index 0660efd..90f2ff1 100644
--- a/man3/readdir.3
+++ b/man3/readdir.3
@@ -227,7 +227,7 @@ as follows:
.nf

name_max = pathconf(dirpath, _PC_NAME_MAX);
-if (name_max == \-1) /* Limit not defined, or error */
+if (name_max == \-1) /* Limit not defined, or error */
name_max = 255; /* Take a guess */
len = offsetof(struct dirent, d_name) + name_max + 1;
entryp = malloc(len);
--
1.7.10.4