madvise.2: minor: Reformat text for EINVAL error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-06-19 07:08:04 +02:00
parent 6d7f2c1382
commit 601f3bc6d3
1 changed files with 10 additions and 5 deletions

View File

@ -26,7 +26,7 @@
.\" Modified, 25 Feb 2002, Michael Kerrisk, <mtk.manpages@gmail.com>
.\" Added notes on MADV_DONTNEED
.\" FIXME
.\" 2.6.32 added MADV_MERGEABLE, and MADV_UNMERGEABLE
.\" 2.6.32 added MADV_MERGEABLE, and MADV_UNMERGEABLE (only if CONFIG_KSM)
.\" 2.6.33 added MADV_SOFT_OFFLINE (only if CONFIG_MEMORY_FAILURE)
.\"
.TH MADVISE 2 2008-04-22 "Linux" "Linux Programmer's Manual"
@ -172,16 +172,21 @@ A kernel resource was temporarily unavailable.
The map exists, but the area maps something that isn't a file.
.TP
.B EINVAL
This error can occur for the following reasons:
.IP * 3
The value
.I len
is negative,
is negative.
.\" .I len
.\" is zero,
.IP *
.I addr
is not page-aligned,
is not page-aligned.
.IP *
.I advice
is not a valid value, or the application is attempting
to release locked or shared pages (with
is not a valid value
.IP *
The application is attempting to release locked or shared pages (with
.BR MADV_DONTNEED ).
.TP
.B EIO