summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_param.h
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2003-01-11 07:29:47 +0000
committerdillon <dillon@FreeBSD.org>2003-01-11 07:29:47 +0000
commit187e654d9ab8b270eb7ce255f4014e7a97b9298b (patch)
tree47505a9e9b6fcfb7c6793719d09dfa37ab8058f9 /sys/vm/vm_param.h
parente2486fdf1adabf06e18a78b19875589848ad3649 (diff)
downloadFreeBSD-src-187e654d9ab8b270eb7ce255f4014e7a97b9298b.zip
FreeBSD-src-187e654d9ab8b270eb7ce255f4014e7a97b9298b.tar.gz
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 <hiten@unixdaemons.com>
Diffstat (limited to 'sys/vm/vm_param.h')
-rw-r--r--sys/vm/vm_param.h4
1 files changed, 2 insertions, 2 deletions
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 }, \
OpenPOWER on IntegriCloud