From nobody@FreeBSD.ORG Sat Apr 10 06:48:33 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 1D12615003; Sat, 10 Apr 1999 06:48:33 -0700 (PDT)
Message-Id: <19990410134833.1D12615003@hub.freebsd.org>
Date: Sat, 10 Apr 1999 06:48:33 -0700 (PDT)
From: molter@tin.it
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: error in the man page for listen(2)
X-Send-Pr-Version: www-1.0

>Number:         11057
>Category:       docs
>Synopsis:       error in the man page for listen(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 06:50:02 PDT 1999
>Closed-Date:    Mon Apr 12 21:39:14 CDT 1999
>Last-Modified:  Mon Apr 12 21:39:32 CDT 1999
>Originator:     Marco Molteni
>Release:        3.1
>Organization:
>Environment:
FreeBSD nympha.ecomotor.it 3.1-RELEASE FreeBSD 3.1-RELEASE #0:
Thu Apr  1 15:17:49 CEST 1999
root@nympha.ecomotor.it:/usr/src/sys/compile/NYMPHA  i386

>Description:
while reading the man page for the listen system call on a FreeBSD
3.1-RELEASE box, I noticed (what I think is) a typo: it refers to a
non existent sysctl variable ``kern.somaxconn'' while it should be
``kern.ipc.somaxconn''.


>How-To-Repeat:
man listen ;-)
>Fix:
--- /usr/src/lib/libc/sys/listen.2      Fri Apr 11 20:47:06 1997
+++ listen.2    Thu Apr  8 11:17:47 1999
@@ -74,15 +74,15 @@
 The
 .Xr sysctl 3
 MIB variable
-.Dq Li kern.somaxconn
+.Dq Li kern.ipc.somaxconn
 specifies a hard limit on
 .Fa backlog ;
 if a  value greater than
-.Li kern.somaxconn
+.Li kern.ipc.somaxconn
 or less than zero is specified,
 .Fa backlog
 is silently forced to
-.Li kern.somaxconn .
+.Li kern.ipc.somaxconn .
 .Sh IMPLEMENTATION NOTES
 .Pp
 In the non-threaded library



>Release-Note:
>Audit-Trail:

From: Nathan Dorfman <nathan@rtfm.net>
To: molter@tin.it
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: docs/11057: error in the man page for listen(2)
Date: Sat, 10 Apr 1999 10:58:36 -0400

 On Sat, Apr 10, 1999 at 06:48:33AM -0700, molter@tin.it wrote:
 > 
 > >Synopsis:       error in the man page for listen(2)
 > 
 > >Description:
 > while reading the man page for the listen system call on a FreeBSD
 > 3.1-RELEASE box, I noticed (what I think is) a typo: it refers to a
 > non existent sysctl variable ``kern.somaxconn'' while it should be
 > ``kern.ipc.somaxconn''.
 
 I've already submitted a pr for this a while ago and it was committed
 by jkoshy; at least it's correct on -current. If it's not in -stable,
 someone should merge it.
 
 -- 
 Nathan Dorfman <nathan@rtfm.net>         The statements and opinions in my
 Unix Admin @ Frontline Communications    public posts are mine, not FCC's.
 "The light at the end of the tunnel is the headlight of an approaching
 train." --/usr/games/fortune
 
State-Changed-From-To: open->closed 
State-Changed-By: ghelmer 
State-Changed-When: Mon Apr 12 21:39:14 CDT 1999 
State-Changed-Why:  
Patches merged from current. 
>Unformatted:
