diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lfs-openat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lfs-openat.c b/test/lfs-openat.c index a81543c..502743f 100644 --- a/test/lfs-openat.c +++ b/test/lfs-openat.c @@ -78,7 +78,7 @@ static int prepare_file(int dfd, const char* fn) int main(int argc, char *argv[]) { const char *fn = "io_uring_openat_test"; - int dfd = open("/tmp", O_RDONLY | O_DIRECTORY); + int dfd = open("/tmp", O_PATH); struct io_uring ring; int ret; |