munmap.2: Remove EINVAL for negative len

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

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit fab411c4fd5224e3dd44e0eb288d60b27480e2d1)
This commit is contained in:
Ed Maste 2025-01-15 16:44:31 -05:00
parent 61c5090935
commit e2cbfa1f50

View file

@ -56,7 +56,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