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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to