diff options
author | peter <peter@FreeBSD.org> | 2001-06-07 03:17:26 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-07 03:17:26 +0000 |
commit | c1df44ae51f0e038d79f66d82849ae33f48b5c94 (patch) | |
tree | 960c8e41da0d34051d7134bc7acba89f5dc172de /sys/kern/uipc_sockbuf.c | |
parent | b10afe2606f64b9c728011eef198b5998dfe418e (diff) | |
download | FreeBSD-src-c1df44ae51f0e038d79f66d82849ae33f48b5c94.zip FreeBSD-src-c1df44ae51f0e038d79f66d82849ae33f48b5c94.tar.gz |
Back out part of my previous commit. This was a last minute change
and I botched testing. This is a perfect example of how NOT to do
this sort of thing. :-(
Diffstat (limited to 'sys/kern/uipc_sockbuf.c')
-rw-r--r-- | sys/kern/uipc_sockbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index 970dcec..4886284 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -1012,7 +1012,7 @@ SYSCTL_INT(_kern_ipc, KIPC_SOCKBUF_WASTE, sockbuf_waste_factor, CTLFLAG_RW, */ static void init_maxsockets(void *ignored) { - TUNABLE_INT_FETCH("kern.ipc.maxsockets", &maxsockets); + TUNABLE_INT_FETCH("kern.ipc.maxsockets", maxsockets); maxsockets = imax(maxsockets, imax(maxfiles, nmbclusters)); } SYSINIT(param, SI_SUB_TUNABLES, SI_ORDER_ANY, init_maxsockets, NULL); |