svn commit: r309663 - head/sys/vm
Mark Johnston
markj at FreeBSD.org
Wed Dec 7 01:15:11 UTC 2016
Author: markj
Date: Wed Dec 7 01:15:10 2016
New Revision: 309663
URL: https://svnweb.freebsd.org/changeset/base/309663
Log:
Use the official spelling for NULL arguments to typed sysctl handlers.
Reported by: bde
Modified:
head/sys/vm/vm_meter.c
Modified: head/sys/vm/vm_meter.c
==============================================================================
--- head/sys/vm/vm_meter.c Wed Dec 7 00:57:15 2016 (r309662)
+++ head/sys/vm/vm_meter.c Wed Dec 7 01:15:10 2016 (r309663)
@@ -321,7 +321,7 @@ VM_STATS_VM(v_kthreadpages, "VM pages af
* 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
More information about the svn-src-head
mailing list