From a61c415d39f1e2edd6b4d11e0228285253a5eb5b Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 2 Oct 2016 00:06:48 +0200 Subject: [PATCH] Fix printing of outofparity message --- cmdline/parity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/parity.c b/cmdline/parity.c index 1dedccf7..32356748 100644 --- a/cmdline/parity.c +++ b/cmdline/parity.c @@ -143,7 +143,7 @@ void parity_overflow(struct snapraid_state* state, data_off_t size) if (file->blockmax > 0) { block_off_t parity_pos = fs_file2par_get(disk, file, file->blockmax - 1); if (parity_pos >= blockalloc) { - found = 0; + found = 1; log_tag("outofparity:%s:%s\n", disk->name, esc_tag(file->sub, esc_buffer)); log_fatal("outofparity %s%s\n", disk->dir, file->sub); }