summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-12-10 22:10:37 +0000
committerbz <bz@FreeBSD.org>2008-12-10 22:10:37 +0000
commit72852bcf842b4aad7df7cf9e728893cf1f1c979f (patch)
tree6349a495813e82591fe400576cd5f2ce5e5846a4
parent4400e3e1347538c7fbe0db7c802baf4b84a6d3e0 (diff)
downloadFreeBSD-src-72852bcf842b4aad7df7cf9e728893cf1f1c979f.zip
FreeBSD-src-72852bcf842b4aad7df7cf9e728893cf1f1c979f.tar.gz
Style changes only. Put the return type on an extra line[1] and
add an empty line at the beginning as we do not have any local variables. Submitted by: rwatson [1] Reviewed by: rwatson MFC after: 4 weeks
-rw-r--r--sys/kern/uipc_socket.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 2aa63e8..9e9c31c 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -238,8 +238,10 @@ SYSCTL_PROC(_kern_ipc, OID_AUTO, maxsockets, CTLTYPE_INT|CTLFLAG_RW,
/*
* Initialise maxsockets.
*/
-static void init_maxsockets(void *ignored)
+static void
+init_maxsockets(void *ignored)
{
+
TUNABLE_INT_FETCH("kern.ipc.maxsockets", &maxsockets);
maxsockets = imax(maxsockets, imax(maxfiles, nmbclusters));
}
OpenPOWER on IntegriCloud