docs/101314: [patch] msgctl(3) structure msqid_ds is referenced as shmid_ds

Vasil Dimov vd at FreeBSD.org
Thu Aug 3 11:30:16 UTC 2006


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 03 11:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list