mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
Correct cookie type to match reality.
This commit is contained in:
parent
354bcd2ed9
commit
24e75069cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216566
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user