Fixes the check for printing the names of files outside the parity.

This commit is contained in:
Andrea Mazzoleni 2013-03-02 18:33:48 +01:00
parent bcf04a01a7
commit 49ff05e0bb

View file

@ -74,7 +74,7 @@ void parity_overflow(struct snapraid_state* state, data_off_t size)
struct snapraid_file* file = j->data;
if (file->blockmax > 0) {
if (file->blockvec[0].parity_pos > blockalloc) {
if (file->blockvec[0].parity_pos >= blockalloc) {
if (state->gui) {
fprintf(stdlog, "outofparity:%s:%s\n", disk->name, file->sub);
fflush(stdlog);