summaryrefslogtreecommitdiffstats
path: root/src/bftw.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-10-16 16:44:46 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-10-17 12:33:39 -0400
commit214a1f9215d33d4b9f34a3d258da1e1f4e3eb01f (patch)
treef287c493fb8233df695a2e7f7bb1ee06347f2506 /src/bftw.c
parentddb476bcd224f8c262d24981af48da2fc649f43d (diff)
downloadbfs-214a1f9215d33d4b9f34a3d258da1e1f4e3eb01f.tar.xz
dir: Add a flags parameter to bfs_opendir()
Diffstat (limited to 'src/bftw.c')
-rw-r--r--src/bftw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bftw.c b/src/bftw.c
index 06a0085..e2f1a66 100644
--- a/src/bftw.c
+++ b/src/bftw.c
@@ -856,7 +856,7 @@ static int bftw_ioq_opendir(struct bftw_state *state, struct bftw_file *file) {
goto unpin;
}
- if (ioq_opendir(state->ioq, dir, dfd, file->name, file) != 0) {
+ if (ioq_opendir(state->ioq, dir, dfd, file->name, 0, file) != 0) {
goto free;
}
@@ -1018,7 +1018,7 @@ static struct bfs_dir *bftw_file_opendir(struct bftw_state *state, struct bftw_f
return NULL;
}
- if (bfs_opendir(dir, fd, NULL) != 0) {
+ if (bfs_opendir(dir, fd, NULL, 0) != 0) {
bftw_freedir(cache, dir);
return NULL;
}