summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-07-26 11:39:02 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-07-26 11:39:02 +0000
commitc49b05cfe1f7d3dc5e6cfde6a85951cdbba27f7c (patch)
tree12032decef9e61ef393ca6e4bc3c12d4ed5b3d63 /lib
parentdbc7eddfa5650674631dc18adcf60ed0dfea8a32 (diff)
downloadFreeBSD-src-c49b05cfe1f7d3dc5e6cfde6a85951cdbba27f7c.zip
FreeBSD-src-c49b05cfe1f7d3dc5e6cfde6a85951cdbba27f7c.tar.gz
Add missing cause for an EINVAL return (msgtype < 1).
PR: 12783 Submitted by: Kevin Day <toasty@dragondata.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/msgsnd.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gen/msgsnd.3 b/lib/libc/gen/msgsnd.3
index 551bd02..f54b8ae 100644
--- a/lib/libc/gen/msgsnd.3
+++ b/lib/libc/gen/msgsnd.3
@@ -28,7 +28,7 @@
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\" $Id$
+.\" $Id: msgsnd.3,v 1.4 1997/11/23 17:58:40 bde Exp $
.\"
.\"/
.Dd November 24, 1997
@@ -135,6 +135,9 @@ message.
.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
OpenPOWER on IntegriCloud