aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-12-10 22:10:37 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-12-10 22:10:37 +0000
commit36b5ba0c49ed516e04bd90665ee80229dc3ab7ca (patch)
tree6349a495813e82591fe400576cd5f2ce5e5846a4 /sys
parentd16ebcd4fe9a6fa9389fb094336c6634fe405055 (diff)
downloadsrc-36b5ba0c49ed516e04bd90665ee80229dc3ab7ca.tar.gz
src-36b5ba0c49ed516e04bd90665ee80229dc3ab7ca.zip
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
Notes
Notes: svn path=/head/; revision=185892
Diffstat (limited to 'sys')
-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 2aa63e804a14..9e9c31c67111 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));
}