From ccef1b4a6de8361bf5f885d80dc303bc2661b47b Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 11 Feb 2005 16:34:14 +0000 Subject: sysctl node vm.stats can not be static (for ia64 reasons). --- sys/vm/vm_meter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c index 8859c94..c290886 100644 --- a/sys/vm/vm_meter.c +++ b/sys/vm/vm_meter.c @@ -276,7 +276,7 @@ vcnt(SYSCTL_HANDLER_ARGS) SYSCTL_PROC(_vm, VM_TOTAL, vmtotal, CTLTYPE_OPAQUE|CTLFLAG_RD, 0, sizeof(struct vmtotal), vmtotal, "S,vmtotal", "System virtual memory statistics"); -static SYSCTL_NODE(_vm, OID_AUTO, stats, CTLFLAG_RW, 0, "VM meter stats"); +SYSCTL_NODE(_vm, OID_AUTO, stats, CTLFLAG_RW, 0, "VM meter stats"); static SYSCTL_NODE(_vm_stats, OID_AUTO, sys, CTLFLAG_RW, 0, "VM meter sys stats"); static SYSCTL_NODE(_vm_stats, OID_AUTO, vm, CTLFLAG_RW, 0, -- cgit v1.1