diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-10-16 16:44:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-10-17 12:33:39 -0400 |
commit | 214a1f9215d33d4b9f34a3d258da1e1f4e3eb01f (patch) | |
tree | f287c493fb8233df695a2e7f7bb1ee06347f2506 /src/bftw.c | |
parent | ddb476bcd224f8c262d24981af48da2fc649f43d (diff) | |
download | bfs-214a1f9215d33d4b9f34a3d258da1e1f4e3eb01f.tar.xz |
dir: Add a flags parameter to bfs_opendir()
Diffstat (limited to 'src/bftw.c')
-rw-r--r-- | src/bftw.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |