Correct cookie type to match reality.

This commit is contained in:
Pawel Jakub Dawidek 2010-12-19 18:07:10 +00:00
parent 354bcd2ed9
commit 24e75069cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216566

View File

@ -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