From 187e654d9ab8b270eb7ce255f4014e7a97b9298b Mon Sep 17 00:00:00 2001 From: dillon Date: Sat, 11 Jan 2003 07:29:47 +0000 Subject: Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten. (the patch in the PR was stale). PR: kern/5689 Submitted by: Hiten Pandya --- sys/vm/vm_param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/vm/vm_param.h') diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h index 795157f..959b35c 100644 --- a/sys/vm/vm_param.h +++ b/sys/vm/vm_param.h @@ -76,7 +76,7 @@ /* * CTL_VM identifiers */ -#define VM_METER 1 /* struct vmmeter */ +#define VM_TOTAL 1 /* struct vmtotal */ #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 */ @@ -91,7 +91,7 @@ #define CTL_VM_NAMES { \ { 0, 0 }, \ - { "vmmeter", CTLTYPE_STRUCT }, \ + { "vmtotal", CTLTYPE_STRUCT }, \ { "loadavg", CTLTYPE_STRUCT }, \ { "v_free_min", CTLTYPE_INT }, \ { "v_free_target", CTLTYPE_INT }, \ -- cgit v1.1