summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/VOP_READDIR.93
1 files changed, 1 insertions, 2 deletions
diff --git a/share/man/man9/VOP_READDIR.9 b/share/man/man9/VOP_READDIR.9
index 625f3c7..bac1f3f 100644
--- a/share/man/man9/VOP_READDIR.9
+++ b/share/man/man9/VOP_READDIR.9
@@ -92,8 +92,7 @@ Memory for the cookies should be allocated using:
.Bd -literal
...;
*ncookies = number of entries read;
- *cookies = (u_int*)#
- malloc(*ncookies * sizeof(u_int), M_TEMP, M_WAITOK);
+ *cookies = malloc(*ncookies * sizeof(u_long), M_TEMP, M_WAITOK);
.Ed
.Sh ERRORS
.Bl -tag -width Er
OpenPOWER on IntegriCloud