aboutsummaryrefslogtreecommitdiff
path: root/io/posix_fallocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/posix_fallocate.c')
-rw-r--r--io/posix_fallocate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/posix_fallocate.c b/io/posix_fallocate.c
index e16c900..8eefc62 100644
--- a/io/posix_fallocate.c
+++ b/io/posix_fallocate.c
@@ -23,7 +23,6 @@
int
posix_fallocate (int fd, __off_t offset, __off_t len)
{
- __set_errno (ENOSYS);
- return -1;
+ return ENOSYS;
}
stub_warning (posix_fallocate)