diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2003-01-18 21:14:02 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-01-18 21:14:02 +0000 |
commit | c4aa0a2e380ad649b779e865f77d7e00103fef71 (patch) | |
tree | 648a7957b761f9b6d520fdf17404dd4a904974c0 /sys/vm/vm_param.h | |
parent | 7bfe4b9807db9b13da4cfe462f1bde158f726433 (diff) | |
download | src-c4aa0a2e380ad649b779e865f77d7e00103fef71.tar.gz src-c4aa0a2e380ad649b779e865f77d7e00103fef71.zip |
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>
Notes
Notes:
svn path=/head/; revision=109496
Diffstat (limited to 'sys/vm/vm_param.h')
-rw-r--r-- | sys/vm/vm_param.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h index 959b35c8c8d9..8ac0bd217eee 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 */ |