svn commit: r216566 - head/share/man/man9

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Dec 19 18:07:11 UTC 2010


Author: pjd
Date: Sun Dec 19 18:07:10 2010
New Revision: 216566
URL: http://svn.freebsd.org/changeset/base/216566

Log:
  Correct cookie type to match reality.

Modified:
  head/share/man/man9/VOP_READDIR.9

Modified: head/share/man/man9/VOP_READDIR.9
==============================================================================
--- head/share/man/man9/VOP_READDIR.9	Sun Dec 19 18:06:20 2010	(r216565)
+++ head/share/man/man9/VOP_READDIR.9	Sun Dec 19 18:07:10 2010	(r216566)
@@ -92,8 +92,7 @@ Memory for the cookies should be allocat
 .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


More information about the svn-src-head mailing list