summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-12-19 18:07:10 +0000
committerpjd <pjd@FreeBSD.org>2010-12-19 18:07:10 +0000
commit96b9ced89fb3aa746ffa5057677a0939d56d5a2e (patch)
tree1150839ae2b18ae0d51ea4818d5aaeae5ff6f723
parentc1aba2a1e932dd530833b43353b8c6471f947927 (diff)
downloadFreeBSD-src-96b9ced89fb3aa746ffa5057677a0939d56d5a2e.zip
FreeBSD-src-96b9ced89fb3aa746ffa5057677a0939d56d5a2e.tar.gz
Correct cookie type to match reality.
-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