Date: Sun, 19 Dec 2010 18:07:10 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r216566 - head/share/man/man9 Message-ID: <201012191807.oBJI7Amm008233@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012191807.oBJI7Amm008233>