summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-10-16 23:08:09 +0000
committerdillon <dillon@FreeBSD.org>2001-10-16 23:08:09 +0000
commit74303ee776672cc16514cd0828b98d3204b41a07 (patch)
tree60cd94143ba5a15dec011db7467cb997ad1a8210 /sys
parente666e03e1a57a23a4cc9a11ac4ba6f6455315f10 (diff)
downloadFreeBSD-src-74303ee776672cc16514cd0828b98d3204b41a07.zip
FreeBSD-src-74303ee776672cc16514cd0828b98d3204b41a07.tar.gz
fix minor bug in kern.minvnodes sysctl. Use OID_AUTO.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 17deea2..6c1c2f2 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -244,7 +244,7 @@ int desiredvnodes;
SYSCTL_INT(_kern, KERN_MAXVNODES, maxvnodes, CTLFLAG_RW,
&desiredvnodes, 0, "Maximum number of vnodes");
static int minvnodes;
-SYSCTL_INT(_kern, KERN_MAXVNODES, minvnodes, CTLFLAG_RW,
+SYSCTL_INT(_kern, OID_AUTO, minvnodes, CTLFLAG_RW,
&minvnodes, 0, "Minimum number of vnodes");
/*
OpenPOWER on IntegriCloud