fallocate.2: Fix description of ENOSYS and EOPNOTSUP errors

As reported in https://bugzilla.redhat.com/show_bug.cgi?id=680214
the descriptions of ENOSYS and EOPNOTSUP are not corrected

Reported-by: John Sullivan <jsrhbz@kanargh.force9.co.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-23 10:07:47 +12:00
parent 61d71e01e2
commit 7cb4d005c6
1 changed files with 7 additions and 5 deletions

View File

@ -5,7 +5,7 @@
.\" 2011-09-19: Added FALLOC_FL_PUNCH_HOLE
.\" 2011-09-19: Substantial restructuring of the page
.\"
.TH FALLOCATE 2 2012-02-27 "Linux" "Linux Programmer's Manual"
.TH FALLOCATE 2 2012-04-23 "Linux" "Linux Programmer's Manual"
.SH NAME
fallocate \- manipulate file space
.SH SYNOPSIS
@ -150,12 +150,14 @@ referred to by
.IR fd .
.TP
.B ENOSYS
The file system containing the file referred to by
.I fd
does not support this operation.
This kernel does not implement
.BR fallocate ().
.TP
.B EOPNOTSUPP
The
The file system containing the file referred to by
.I fd
does not support this operation;
or the
.I mode
is not supported by the file system containing the file referred to by
.IR fd .