Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2016 01:15:10 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309663 - head/sys/vm
Message-ID:  <201612070115.uB71FA9I078473@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612070115.uB71FA9I078473>