-.\" $OpenBSD: mmap.2,v 1.54 2017/03/11 22:58:46 jmc Exp $
+.\" $OpenBSD: mmap.2,v 1.55 2017/04/05 18:15:43 millert Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
.\"
.\" @(#)mmap.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: March 11 2017 $
+.Dd $Mdocdate: April 5 2017 $
.Dt MMAP 2
.Os
.Sh NAME
.Fa fd
did not specify a regular, character special, or block special file.
.It Bq Er EINVAL
+.Fa fd
+specified a character special or block special file and the underlying
+device does not support memory mapping.
+.It Bq Er EINVAL
The allocation
.Fa len
was 0.