diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-01-13 15:54:46 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-01-13 15:54:46 -0500 |
commit | e766015d60c927aae03b8e43d956c6976c16b2ba (patch) | |
tree | 796b0ab4c94d3cf5e8c12b4d263e054eb04f6bcd /src/bftw.c | |
parent | e9588c49d5539ded993f720fc6855d6fa878c997 (diff) | |
download | bfs-e766015d60c927aae03b8e43d956c6976c16b2ba.tar.xz |
ioq: Use the negative errno convention
Diffstat (limited to 'src/bftw.c')
-rw-r--r-- | src/bftw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -621,7 +621,7 @@ static int bftw_ioq_pop(struct bftw_state *state, bool block) { } dir = ent->opendir.dir; - if (ent->ret == 0) { + if (ent->result >= 0) { bftw_file_set_dir(cache, file, dir); } else { bftw_freedir(cache, dir); |