diff options
Diffstat (limited to 'libc/sysdeps/linux/arm/posix_fadvise.c')
-rw-r--r-- | libc/sysdeps/linux/arm/posix_fadvise.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/posix_fadvise.c b/libc/sysdeps/linux/arm/posix_fadvise.c index 60999ecdf..bb4ac7b0c 100644 --- a/libc/sysdeps/linux/arm/posix_fadvise.c +++ b/libc/sysdeps/linux/arm/posix_fadvise.c @@ -30,8 +30,7 @@ weak_alias(__libc_posix_fadvise, posix_fadvise); #else int posix_fadvise(int fd attribute_unused, off_t offset attribute_unused, off_t len attribute_unused, int advice attribute_unused) { - __set_errno(ENOSYS); - return -1; + return ENOSYS; } #endif |