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.25
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/sys/posix_fallocate.2 b/lib/libc/sys/posix_fallocate.2
index 7b17133..7501777 100644
--- a/lib/libc/sys/posix_fallocate.2
+++ b/lib/libc/sys/posix_fallocate.2
@@ -83,9 +83,8 @@ that reduces the file size to a size smaller than
If successful,
.Fn posix_fallocate
returns zero.
-It returns -1 on failure, and sets
-.Va errno
-to indicate the error.
+It returns an error on failure, without setting
+.Va errno .
.Sh ERRORS
Possible failure conditions:
.Bl -tag -width Er
OpenPOWER on IntegriCloud