From nobody  Wed Oct  2 15:39:10 1996
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.7.5/8.7.3) id PAA11991;
          Wed, 2 Oct 1996 15:39:10 -0700 (PDT)
Message-Id: <199610022239.PAA11991@freefall.freebsd.org>
Date: Wed, 2 Oct 1996 15:39:10 -0700 (PDT)
From: graphix@iastate.edu
To: freebsd-gnats-submit@freebsd.org
Subject: semget man page refers to SEM_W instead of SEM_A
X-Send-Pr-Version: www-1.0

>Number:         1712
>Category:       docs
>Synopsis:       semget man page refers to SEM_W instead of SEM_A
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct  2 15:40:02 PDT 1996
>Closed-Date:    Tue Dec 3 15:03:28 PST 1996
>Last-Modified:  Tue Dec  3 15:03:57 PST 1996
>Originator:     Kent Vander Velden
>Release:        -current
>Organization:
Iowa State University
>Environment:
FreeBSD pseudo.cc.iastate.edu 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sun Sep 29 02:52:06 CDT 1996     kent@pseudo.cc.iastate.edu:/usr/src/sys/compile/PSEUDO  i386
	

>Description:

The semget() man page refers to the macro SEM_W but the include file
sys/sem.h does not define this and instead defines SHM_A.  A change
to the man page is needed to reflect this.
>How-To-Repeat:


>Fix:
src|Wed5:39pm} cvs diff -r HEAD lib/libc/sys/semget.2
Index: lib/libc/sys/semget.2
===================================================================
RCS file: /usr/FreeBSD-CVS/src/lib/libc/sys/semget.2,v
retrieving revision 1.1
diff -r1.1 semget.2
83,84c83,84
< .It Dv SEM_W
< Write access for user.
---
> .It Dv SEM_A
> Alter access for user.
87,88c87,88
< .It Dv (SEM_W>>3)
< Write access for group.
---
> .It Dv (SEM_A>>3)
> Alter access for group.
91,92c91,92
< .It Dv (SEM_W>>6)
< Write access for other.
---
> .It Dv (SEM_A>>6)
> Alter access for other.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Tue Dec 3 15:03:28 PST 1996 
State-Changed-Why:  
Suggested fix applied. 
>Unformatted:
