diff --git a/man2/fallocate.2 b/man2/fallocate.2 index 8296cd5f9..a61c51338 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -8,7 +8,7 @@ .\" 2011-09-19: Added FALLOC_FL_PUNCH_HOLE .\" 2011-09-19: Substantial restructuring of the page .\" -.TH FALLOCATE 2 2013-02-12 "Linux" "Linux Programmer's Manual" +.TH FALLOCATE 2 2013-04-19 "Linux" "Linux Programmer's Manual" .SH NAME fallocate \- manipulate file space .SH SYNOPSIS @@ -110,8 +110,12 @@ Not all file systems support .BR FALLOC_FL_PUNCH_HOLE ; if a file system doesn't support the operation, an error is returned. .SH RETURN VALUE +On error, .BR fallocate () -returns zero on success, and \-1 on failure. +returns zero. +On error, \-1 is returned and +.I errno +is set to indicate the error. .SH ERRORS .TP .B EBADF