From e3fd0e351e56a81b1c78016f3ba1eabf66968dbe Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 18 Jan 2003 21:14:02 +0000 Subject: 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 --- sys/vm/vm_param.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') 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 */ -- cgit v1.1