diff options
Diffstat (limited to 'src/bftw.c')
-rw-r--r-- | src/bftw.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -802,8 +802,7 @@ static int bftw_state_init(struct bftw_state *state, const struct bftw_args *arg } if (state->flags & BFTW_SORT) { qflags |= BFTW_QORDER; - } - if (nthreads == 1) { + } else if (nthreads == 1) { qflags |= BFTW_QBALANCE; } bftw_queue_init(&state->fileq, qflags); |