mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
long != int. Use SYSCTL_UINT for kern.devstat.generation. Fixes booting
on sparc64.
This commit is contained in:
parent
2d95f7d4a9
commit
84513ca201
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112388
@ -420,7 +420,7 @@ SYSCTL_PROC(_kern_devstat, OID_AUTO, all, CTLFLAG_RD|CTLTYPE_OPAQUE,
|
||||
*/
|
||||
SYSCTL_INT(_kern_devstat, OID_AUTO, numdevs, CTLFLAG_RD,
|
||||
&devstat_num_devs, 0, "Number of devices in the devstat list");
|
||||
SYSCTL_LONG(_kern_devstat, OID_AUTO, generation, CTLFLAG_RD,
|
||||
SYSCTL_UINT(_kern_devstat, OID_AUTO, generation, CTLFLAG_RD,
|
||||
&devstat_generation, 0, "Devstat list generation");
|
||||
SYSCTL_INT(_kern_devstat, OID_AUTO, version, CTLFLAG_RD,
|
||||
&devstat_version, 0, "Devstat list version number");
|
||||
|
Loading…
Reference in New Issue
Block a user