summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/posix_fallocate.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/posix_fallocate.2')
-rw-r--r--lib/libc/sys/posix_fallocate.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/posix_fallocate.2 b/lib/libc/sys/posix_fallocate.2
index 7b17133..1460764 100644
--- a/lib/libc/sys/posix_fallocate.2
+++ b/lib/libc/sys/posix_fallocate.2
@@ -83,9 +83,9 @@ that reduces the file size to a size smaller than
If successful,
.Fn posix_fallocate
returns zero.
-It returns -1 on failure, and sets
+It returns error number on failure, without setting
.Va errno
-to indicate the error.
+variable.
.Sh ERRORS
Possible failure conditions:
.Bl -tag -width Er
OpenPOWER on IntegriCloud