From 49ff05e0bb2535c5c3ccd8c979b13d81a6de531a Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 2 Mar 2013 18:33:48 +0100 Subject: [PATCH] Fixes the check for printing the names of files outside the parity. --- parity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parity.c b/parity.c index d4ea392e..adf64475 100644 --- a/parity.c +++ b/parity.c @@ -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);