--- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html