about summary refs log tree commit diff
path: root/io/posix_fallocate64.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/posix_fallocate64.c')
-rw-r--r--io/posix_fallocate64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/posix_fallocate64.c b/io/posix_fallocate64.c
index a5ffb7fa00..05922d16e6 100644
--- a/io/posix_fallocate64.c
+++ b/io/posix_fallocate64.c
@@ -23,7 +23,6 @@
 int
 posix_fallocate64 (int fd, __off64_t offset, __off64_t len)
 {
-  __set_errno (ENOSYS);
-  return -1;
+  return ENOSYS;
 }
 stub_warning (posix_fallocate64)