From toasty@celery.dragondata.com Fri Jul 23 14:52:07 1999
Return-Path: <toasty@celery.dragondata.com>
Received: from celery.dragondata.com (celery.dragondata.com [205.253.12.6])
	by hub.freebsd.org (Postfix) with ESMTP id 0626B14E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Jul 1999 14:52:06 -0700 (PDT)
	(envelope-from toasty@celery.dragondata.com)
Received: (from toasty@localhost)
	by celery.dragondata.com (8.9.3/8.9.3) id QAA43763;
	Fri, 23 Jul 1999 16:49:45 -0500 (CDT)
	(envelope-from toasty)
Message-Id: <199907232149.QAA43763@celery.dragondata.com>
Date: Fri, 23 Jul 1999 16:49:45 -0500 (CDT)
From: toasty@dragondata.com
Sender: toasty@celery.dragondata.com
Reply-To: toasty@dragondata.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] missing return value for msgsnd(3)
X-Send-Pr-Version: 3.2

>Number:         12783
>Category:       docs
>Synopsis:       [PATCH] missing return value for msgsnd(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 23 15:00:01 PDT 1999
>Closed-Date:    Mon Jul 26 04:40:11 PDT 1999
>Last-Modified:  Mon Jul 26 04:40:38 PDT 1999
>Originator:     Kevin Day
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
DragonData Internet Services
>Environment:

Any FreeBSD machine since the inclusion of msgsnd(3)

>Description:

The manpage doesn't document all reasons for an EINVAL return.

>How-To-Repeat:

man 3 msgsnd

>Fix:
	
--- msgsnd.3    Sat Jul 24 06:44:55 1999
+++ msgsnd.3    Sat Jul 24 06:47:27 1999
@@ -135,6 +135,9 @@
 .Fa msgsz
 is less than 0, or greater than
 .Va msg_qbytes .
+.Pp
+.Fa mtype
+is not greater than 0.
 .It Bq Er EACCES
 The calling process does not have write access to the message queue.
 .It Bq Er EAGAIN


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Jul 26 04:35:44 PDT 1999 
Responsible-Changed-Why:  
I'll take this one. 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Jul 26 04:40:11 PDT 1999 
State-Changed-Why:  
Committed and merged to STABLE, thanks! 
>Unformatted:
