summaryrefslogtreecommitdiff
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-06-30 21:25:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-06-30 21:25:58 +0000
commit8cb526672845cb782be1f515d5f52ccb27bd5d63 (patch)
tree313c8cb002ad609e9266734baf35ca5784420828 /sys/kern/subr_param.c
parent09d693f205929d6aed612d595c30e2219b75e002 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 00d2484caf02..84dbae0f6173 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -36,13 +36,15 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.3 (Berkeley) 8/20/94
- * $Id: param.c,v 1.27 1998/05/15 20:10:54 wollman Exp $
+ * $Id: param.c,v 1.28 1998/06/21 12:22:35 bde Exp $
*/
#include "opt_sysvipc.h"
#include "opt_param.h"
#include <sys/param.h>
+#include <sys/kernel.h>
+#include <sys/sysctl.h>
#ifdef SYSVSHM
#include <machine/vmparam.h>
@@ -96,6 +98,7 @@ int maxsockets = MAXSOCKETS;
int nmbufs = NMBCLUSTERS * 4;
int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */
+SYSCTL_INT(_kern, OID_AUTO, fscale, CTLFLAG_RD, 0, FSCALE, "");
/*
* Values in support of System V compatible shared memory. XXX