summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_param.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-01-18 21:14:02 +0000
committerobrien <obrien@FreeBSD.org>2003-01-18 21:14:02 +0000
commite3fd0e351e56a81b1c78016f3ba1eabf66968dbe (patch)
tree648a7957b761f9b6d520fdf17404dd4a904974c0 /sys/vm/vm_param.h
parent52f45b2ab2ed706e79903295dfbef6561e0d7511 (diff)
downloadFreeBSD-src-e3fd0e351e56a81b1c78016f3ba1eabf66968dbe.zip
FreeBSD-src-e3fd0e351e56a81b1c78016f3ba1eabf66968dbe.tar.gz
Rev 1.16 renamed VM_METER to VM_TOTAL. This is breaking 3rd-party apps.
So add a VM_METER compat define. Submitted by: Andy Fawcett <andy@athame.co.uk>
Diffstat (limited to 'sys/vm/vm_param.h')
-rw-r--r--sys/vm/vm_param.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h
index 959b35c..8ac0bd2 100644
--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -77,6 +77,7 @@
* CTL_VM identifiers
*/
#define VM_TOTAL 1 /* struct vmtotal */
+#define VM_METER VM_TOTAL/* deprecated, use VM_TOTAL */
#define VM_LOADAVG 2 /* struct loadavg */
#define VM_V_FREE_MIN 3 /* cnt.v_free_min */
#define VM_V_FREE_TARGET 4 /* cnt.v_free_target */
OpenPOWER on IntegriCloud