Date: Wed, 10 Dec 2008 22:10:37 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185892 - head/sys/kern Message-ID: <200812102210.mBAMAbl5044578@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Wed Dec 10 22:10:37 2008 New Revision: 185892 URL: http://svn.freebsd.org/changeset/base/185892 Log: 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 Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c ============================================================================== --- head/sys/kern/uipc_socket.c Wed Dec 10 21:48:05 2008 (r185891) +++ head/sys/kern/uipc_socket.c Wed Dec 10 22:10:37 2008 (r185892) @@ -238,8 +238,10 @@ SYSCTL_PROC(_kern_ipc, OID_AUTO, maxsock /* * 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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812102210.mBAMAbl5044578>