munmap.2: Remove EINVAL for negative len

len is unsigned (it is size_t), so cannot be negative.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2025-01-15 16:44:31 -05:00
parent c18a6c15f4
commit fab411c4fd

View file

@ -55,7 +55,7 @@ will fail if:
.It Bq Er EINVAL
The
.Fa len
argument was zero or negative, or
argument was zero, or
some part of the region being unmapped is outside the
valid address range for a process.
.El