From vd@datamax.bg  Thu Aug  3 11:23:22 2006
Return-Path: <vd@datamax.bg>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8B6FB16A4DA;
	Thu,  3 Aug 2006 11:23:22 +0000 (UTC)
	(envelope-from vd@datamax.bg)
Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0484C43D4C;
	Thu,  3 Aug 2006 11:23:21 +0000 (GMT)
	(envelope-from vd@datamax.bg)
Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2])
	by jengal.datamax.bg (Postfix) with SMTP id 8CAD7B833;
	Thu,  3 Aug 2006 14:23:20 +0300 (EEST)
Received: (nullmailer pid 2247 invoked by uid 1002);
	Thu, 03 Aug 2006 11:23:20 -0000
Message-Id: <20060803112320.GA2214@qlovarnika.bg.datamax>
Date: Thu, 3 Aug 2006 14:23:20 +0300
From: Vasil Dimov <vd@FreeBSD.org>
Reply-To: vd@FreeBSD.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] msgctl(3) structure msqid_ds is referenced as shmid_ds
X-Send-Pr-Version: 3.113

>Number:         101314
>Category:       docs
>Synopsis:       [patch] msgctl(3) structure msqid_ds is referenced as shmid_ds
>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:   Thu Aug 03 11:30:15 GMT 2006
>Closed-Date:    Wed Aug 16 09:38:57 GMT 2006
>Last-Modified:  Wed Aug 16 09:38:57 GMT 2006
>Originator:     Vasil Dimov
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
N/A
>Environment:

>Description:

msgctl(3) reads:

     ...
     struct msqid_ds {
             struct  ipc_perm msg_perm;      /* msg queue permission bits 
     ...
     The ipc_perm structure used inside the shmid_ds structure is defined in

Which is obviously a copy-paste typo.

>How-To-Repeat:

>Fix:

--- msgctl.3.diff begins here ---
Index: msgctl.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/gen/msgctl.3,v
retrieving revision 1.19
diff -u -r1.19 msgctl.3
--- msgctl.3	8 Sep 2003 19:57:14 -0000	1.19
+++ msgctl.3	3 Aug 2006 11:17:06 -0000
@@ -83,7 +83,7 @@
 The
 .Vt ipc_perm
 structure used inside the
-.Vt shmid_ds
+.Vt msqid_ds
 structure is defined in
 .In sys/ipc.h
 and looks like this:
--- msgctl.3.diff ends here ---


-- 
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: maxim 
State-Changed-When: Wed Aug 9 18:06:01 UTC 2006 
State-Changed-Why:  
Committed to HEAD.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101314 
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Wed Aug 16 09:38:38 UTC 2006 
State-Changed-Why:  
Merged to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101314 
>Unformatted:
