diff --git a/lib/libsys/mmap.2 b/lib/libsys/mmap.2 --- a/lib/libsys/mmap.2 +++ b/lib/libsys/mmap.2 @@ -491,12 +491,6 @@ .Fa offset argument was not 0. .It Bq Er EINVAL -Both -.Dv MAP_FIXED -and -.Dv MAP_EXCL -were specified, but the requested region is already used by a mapping. -.It Bq Er EINVAL .Dv MAP_EXCL was specified, but .Dv MAP_FIXED @@ -532,6 +526,12 @@ argument was not available. .Dv MAP_ANON was specified and insufficient memory was available. +.It Bq Er ENOMEM +Both +.Dv MAP_FIXED +and +.Dv MAP_EXCL +were specified, but the requested region is already used by a mapping. .It Bq Er ENOTSUP The .Fa prot