t/dedupe: use fio abstracted OS_O_DIRECT
[fio.git] / t / dedupe.c
index 7edb3d8886857e000949f066271ef358ab98ce12..030b4fc9d00f167b2d0eea363f03e73fdb469060 100644 (file)
@@ -431,7 +431,7 @@ static int dedupe_check(const char *filename, uint64_t *nextents,
 
        flags = O_RDONLY;
        if (odirect)
-               flags |= O_DIRECT;
+               flags |= OS_O_DIRECT;
 
        memset(&file, 0, sizeof(file));
        file.file_name = strdup(filename);