X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=helpers.c;h=ab9d706da87935870ce3784b4d4fedafc2f2db48;hb=70d9a988dfd0e08ac299044a2cb8eff3d8b51949;hp=a0ee37044e8abdc418ac9f19fcca06509858485a;hpb=ec2ea18e87fad6c42d6875cd4ee1bb25ef9b4627;p=fio.git diff --git a/helpers.c b/helpers.c index a0ee3704..ab9d706d 100644 --- a/helpers.c +++ b/helpers.c @@ -18,7 +18,8 @@ int posix_fallocate(int fd, off_t offset, off_t len) #endif #ifndef CONFIG_SYNC_FILE_RANGE -int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) +int sync_file_range(int fd, uint64_t offset, uint64_t nbytes, + unsigned int flags) { errno = ENOSYS; return -1;