Use the official spelling for NULL arguments to typed sysctl handlers.
Reported by: bde
This commit is contained in:
parent
02784f106e
commit
43482f897b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309663
@ -321,7 +321,7 @@ VM_STATS_VM(v_kthreadpages, "VM pages affected by fork() by kernel");
|
||||
* with an error if they cannot be found.
|
||||
*/
|
||||
SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_cache_count, CTLFLAG_RD,
|
||||
(u_int *)NULL, 0, "Dummy for compatibility");
|
||||
SYSCTL_NULL_UINT_PTR, 0, "Dummy for compatibility");
|
||||
SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_tcached, CTLFLAG_RD,
|
||||
(u_int *)NULL, 0, "Dummy for compatibility");
|
||||
SYSCTL_NULL_UINT_PTR, 0, "Dummy for compatibility");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user