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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to