svn commit: r189965 - in stable/7/sys: . contrib/pf dev/cxgb kern
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Mar 18 07:43:57 PDT 2009
Author: bz
Date: Wed Mar 18 14:43:56 2009
New Revision: 189965
URL: http://svn.freebsd.org/changeset/base/189965
Log:
MFC r185892:
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]
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/dev/cxgb/ (props changed)
stable/7/sys/kern/uipc_socket.c
Modified: stable/7/sys/kern/uipc_socket.c
==============================================================================
--- stable/7/sys/kern/uipc_socket.c Wed Mar 18 14:36:49 2009 (r189964)
+++ stable/7/sys/kern/uipc_socket.c Wed Mar 18 14:43:56 2009 (r189965)
@@ -240,8 +240,10 @@ SYSCTL_PROC(_kern_ipc, OID_AUTO, maxsock
* Initialise maxsockets. This SYSINIT must be run after
* tunable_mbinit().
*/
-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));
}
More information about the svn-src-stable
mailing list