diff options
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_meter.c | 2 | ||||
-rw-r--r-- | sys/vm/vm_param.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c index cc50d7f..ae7850a 100644 --- a/sys/vm/vm_meter.c +++ b/sys/vm/vm_meter.c @@ -237,7 +237,7 @@ vcnt(SYSCTL_HANDLER_ARGS) return(error); } -SYSCTL_PROC(_vm, VM_METER, vmmeter, CTLTYPE_OPAQUE|CTLFLAG_RD, +SYSCTL_PROC(_vm, VM_TOTAL, vmtotal, CTLTYPE_OPAQUE|CTLFLAG_RD, 0, sizeof(struct vmtotal), vmtotal, "S,vmtotal", "System virtual memory statistics"); SYSCTL_NODE(_vm, OID_AUTO, stats, CTLFLAG_RW, 0, "VM meter stats"); 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 }, \ |