diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/posix_fallocate.c | 3 | ||||
-rw-r--r-- | io/posix_fallocate64.c | 3 |
2 files changed, 2 insertions, 4 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) diff --git a/io/posix_fallocate64.c b/io/posix_fallocate64.c index a5ffb7f..05922d1 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) |