1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

posix_fallocate, posix_fallocate64 stub: Do not set errno

These functions return an error code.
This commit is contained in:
Florian Weimer
2015-04-24 13:18:48 +02:00
parent c25fec6f57
commit 2dd6ee79b1
3 changed files with 7 additions and 4 deletions

View File

@ -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)