diff options
author | kib <kib@FreeBSD.org> | 2006-06-21 12:59:05 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2006-06-21 12:59:05 +0000 |
commit | b90260e7035c8f2d90612cf58c33ab8d1844306b (patch) | |
tree | 3d462d902d64bc4d67fcf4e3e81e7830d113826d /lib/libc | |
parent | 642780c004cfff4e1209e56ef408282322ff3904 (diff) | |
download | FreeBSD-src-b90260e7035c8f2d90612cf58c33ab8d1844306b.zip FreeBSD-src-b90260e7035c8f2d90612cf58c33ab8d1844306b.tar.gz |
Make the mincore(2) return ENOMEM when requested range is not fully mapped.
Requested by: Bruno Haible <bruno at clisp org>
Reviewed by: alc
Approved by: pjd (mentor)
MFC after: 1 month
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/mincore.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/mincore.2 b/lib/libc/sys/mincore.2 index 25ad076..75e74a4 100644 --- a/lib/libc/sys/mincore.2 +++ b/lib/libc/sys/mincore.2 @@ -92,12 +92,12 @@ The .Fn mincore system call will fail if: .Bl -tag -width Er -.It Bq Er EINVAL +.It Bq Er ENOMEM The virtual address range specified by the .Fa addr and .Fa len -arguments is not valid. +arguments is not fully mapped. .It Bq Er EFAULT The .Fa vec |