X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=helpers.c;h=4342b2d2fa083b0dc5dba021d89d1021a806d39a;hb=4c13124fd80dad1e771dfca0022b37a3f1bb9a43;hp=dce967d39d6c4bc8f1e2b7cbf8410fdaa1aed093;hpb=836fcc0fceb233ebcc41ee63b4ea5cae20b678a4;p=fio.git diff --git a/helpers.c b/helpers.c index dce967d3..4342b2d2 100644 --- a/helpers.c +++ b/helpers.c @@ -32,7 +32,7 @@ int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) } #endif -#ifndef CONFIG_FADVISE +#ifndef CONFIG_POSIX_FADVISE int posix_fadvise(int fd, off_t offset, off_t len, int advice) { return 0;