From nobody@FreeBSD.org  Thu Feb 28 14:43:22 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 33FF0106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2008 14:43:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1C5AA8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2008 14:43:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1SEeWw4025066
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2008 14:40:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1SEeWT0025065;
	Thu, 28 Feb 2008 14:40:32 GMT
	(envelope-from nobody)
Message-Id: <200802281440.m1SEeWT0025065@www.freebsd.org>
Date: Thu, 28 Feb 2008 14:40:32 GMT
From: Thomas Mueller <tmueller@sysgo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mq_getattr(2): mq_flags mistakenly described as holding messages currently on the queue
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121173
>Category:       docs
>Synopsis:       [patch] mq_getattr(2): mq_flags mistakenly described as holding messages currently on the queue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brueffer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 28 14:50:02 UTC 2008
>Closed-Date:    Fri Feb 28 01:46:31 CET 2014
>Last-Modified:  Fri Feb 28 00:50:02 UTC 2014
>Originator:     Thomas Mueller
>Release:        RELENG_7
>Organization:
>Environment:
FreeBSD tom.ulm.sysgo.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #30: Tue Feb 26 12:35:30 CET 2008     toor@tom.ulm.sysgo.com:/u2/obj/usr/src/sys/TOM  i386
>Description:
The manual page for mq_getattr(2) states that mq_attr.mq_flags contains 
the number of messages currently on the queue. According to IEEE Std 1003.1-2004 
this information is stored in mq_attr.mq_curmsgs.


>How-To-Repeat:

>Fix:
Index: mq_getattr.2
===================================================================
RCS file: /u2/tmu/FreeBSD/repo/src/lib/libc/sys/mq_getattr.2,v
retrieving revision 1.4
diff -u -p -r1.4 mq_getattr.2
--- mq_getattr.2        18 Jun 2007 01:50:03 -0000      1.4
+++ mq_getattr.2        28 Feb 2008 14:29:17 -0000
@@ -73,7 +73,7 @@ structure referenced by the
 .Fa mqstat
 argument will be set to the current state
 of the message queue:
-.Bl -tag -width ".Va mq_flags"
+.Bl -tag -width ".Va mq_curmsgs"
 .It Va mq_flags
 The number of messages currently on the queue.
 .El


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: brueffer 
State-Changed-When: Fri Feb 21 14:53:54 CET 2014 
State-Changed-Why:  
Fix committed, thanks!  Sorry it took so long to get such an obvious thing 
corrected. 


Responsible-Changed-From-To: freebsd-doc->brueffer 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Fri Feb 21 14:53:54 CET 2014 
Responsible-Changed-Why:  
MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121173 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/121173: commit references a PR
Date: Fri, 21 Feb 2014 13:53:49 +0000 (UTC)

 Author: brueffer
 Date: Fri Feb 21 13:53:41 2014
 New Revision: 262296
 URL: http://svnweb.freebsd.org/changeset/base/262296
 
 Log:
   Match the correct variable to the variable description.
   
   PR:		121173
   Submitted by:	Thomas Mueller <tmueller at sysgo.com>
   MFC after:	1 week
 
 Modified:
   head/lib/libc/sys/mq_getattr.2
 
 Modified: head/lib/libc/sys/mq_getattr.2
 ==============================================================================
 --- head/lib/libc/sys/mq_getattr.2	Fri Feb 21 13:17:10 2014	(r262295)
 +++ head/lib/libc/sys/mq_getattr.2	Fri Feb 21 13:53:41 2014	(r262296)
 @@ -37,7 +37,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd November 29, 2005
 +.Dd February 21, 2014
  .Dt MQ_GETATTR 2
  .Os
  .Sh NAME
 @@ -83,8 +83,8 @@ structure referenced by the
  .Fa mqstat
  argument will be set to the current state
  of the message queue:
 -.Bl -tag -width ".Va mq_flags"
 -.It Va mq_flags
 +.Bl -tag -width ".Va mq_curmsgs"
 +.It Va mq_curmsgs
  The number of messages currently on the queue.
  .El
  .Sh RETURN VALUES
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: brueffer 
State-Changed-When: Fri Feb 28 01:46:09 CET 2014 
State-Changed-Why:  
Merge to stable branches done. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121173 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/121173: commit references a PR
Date: Fri, 28 Feb 2014 00:43:35 +0000 (UTC)

 Author: brueffer
 Date: Fri Feb 28 00:43:27 2014
 New Revision: 262588
 URL: http://svnweb.freebsd.org/changeset/base/262588
 
 Log:
   MFC: r262296
   
   Match the correct variable to the variable description.
   
   PR:		121173
   Submitted by:	Thomas Mueller <tmueller at sysgo.com>
 
 Modified:
   stable/10/lib/libc/sys/mq_getattr.2
 Directory Properties:
   stable/10/   (props changed)
 
 Modified: stable/10/lib/libc/sys/mq_getattr.2
 ==============================================================================
 --- stable/10/lib/libc/sys/mq_getattr.2	Fri Feb 28 00:41:55 2014	(r262587)
 +++ stable/10/lib/libc/sys/mq_getattr.2	Fri Feb 28 00:43:27 2014	(r262588)
 @@ -37,7 +37,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd November 29, 2005
 +.Dd February 21, 2014
  .Dt MQ_GETATTR 2
  .Os
  .Sh NAME
 @@ -83,8 +83,8 @@ structure referenced by the
  .Fa mqstat
  argument will be set to the current state
  of the message queue:
 -.Bl -tag -width ".Va mq_flags"
 -.It Va mq_flags
 +.Bl -tag -width ".Va mq_curmsgs"
 +.It Va mq_curmsgs
  The number of messages currently on the queue.
  .El
  .Sh RETURN VALUES
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/121173: commit references a PR
Date: Fri, 28 Feb 2014 00:44:49 +0000 (UTC)

 Author: brueffer
 Date: Fri Feb 28 00:44:41 2014
 New Revision: 262589
 URL: http://svnweb.freebsd.org/changeset/base/262589
 
 Log:
   MFC: r262296
   
   Match the correct variable to the variable description.
   
   PR:		121173
   Submitted by:	Thomas Mueller <tmueller at sysgo.com>
 
 Modified:
   stable/9/lib/libc/sys/mq_getattr.2
 Directory Properties:
   stable/9/lib/libc/   (props changed)
   stable/9/lib/libc/sys/   (props changed)
 
 Modified: stable/9/lib/libc/sys/mq_getattr.2
 ==============================================================================
 --- stable/9/lib/libc/sys/mq_getattr.2	Fri Feb 28 00:43:27 2014	(r262588)
 +++ stable/9/lib/libc/sys/mq_getattr.2	Fri Feb 28 00:44:41 2014	(r262589)
 @@ -37,7 +37,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd November 29, 2005
 +.Dd February 21, 2014
  .Dt MQ_GETATTR 2
  .Os
  .Sh NAME
 @@ -83,8 +83,8 @@ structure referenced by the
  .Fa mqstat
  argument will be set to the current state
  of the message queue:
 -.Bl -tag -width ".Va mq_flags"
 -.It Va mq_flags
 +.Bl -tag -width ".Va mq_curmsgs"
 +.It Va mq_curmsgs
  The number of messages currently on the queue.
  .El
  .Sh RETURN VALUES
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/121173: commit references a PR
Date: Fri, 28 Feb 2014 00:46:04 +0000 (UTC)

 Author: brueffer
 Date: Fri Feb 28 00:45:55 2014
 New Revision: 262590
 URL: http://svnweb.freebsd.org/changeset/base/262590
 
 Log:
   MFC: r262296
   
   Match the correct variable to the variable description.
   
   PR:		121173
   Submitted by:	Thomas Mueller <tmueller at sysgo.com>
 
 Modified:
   stable/8/lib/libc/sys/mq_getattr.2
 Directory Properties:
   stable/8/lib/libc/   (props changed)
   stable/8/lib/libc/sys/   (props changed)
 
 Modified: stable/8/lib/libc/sys/mq_getattr.2
 ==============================================================================
 --- stable/8/lib/libc/sys/mq_getattr.2	Fri Feb 28 00:44:41 2014	(r262589)
 +++ stable/8/lib/libc/sys/mq_getattr.2	Fri Feb 28 00:45:55 2014	(r262590)
 @@ -37,7 +37,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd November 29, 2005
 +.Dd February 21, 2014
  .Dt MQ_GETATTR 2
  .Os
  .Sh NAME
 @@ -83,8 +83,8 @@ structure referenced by the
  .Fa mqstat
  argument will be set to the current state
  of the message queue:
 -.Bl -tag -width ".Va mq_flags"
 -.It Va mq_flags
 +.Bl -tag -width ".Va mq_curmsgs"
 +.It Va mq_curmsgs
  The number of messages currently on the queue.
  .El
  .Sh RETURN VALUES
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
