summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-28 12:50:10 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-28 12:50:10 +0000
commitd79d93813a2f01a373059624eb2ceb77e4cc886f (patch)
tree64f265ba7a3000241563c96cc5a051bfeb4758f7 /libc/sysdeps/linux/common
parentd403c9f1507bd2369b36d8aac63aea1ed3ffe04e (diff)
- fix compilation if LFS is off and STUBs are requested
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/sync_file_range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/sync_file_range.c b/libc/sysdeps/linux/common/sync_file_range.c
index 53f7ae6a1..90a8edd3c 100644
--- a/libc/sysdeps/linux/common/sync_file_range.c
+++ b/libc/sysdeps/linux/common/sync_file_range.c
@@ -24,7 +24,7 @@ int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags)
flags);
}
#elif defined __UCLIBC_HAS_STUBS__
-int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags)
+int sync_file_range(int fd, __off64_t offset, __off64_t nbytes, unsigned int flags)
{
__set_errno(ENOSYS);
return -1;