From 1063677959b434b7ffee94c93042df3e2f11bd5a Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 5 Jun 2014 22:44:59 +0200 Subject: [PATCH] Fixes reading of textual content file for REP blocks. In the default case of using binary content files this bug has no effect. --- cmdline/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/state.c b/cmdline/state.c index 716af1aa..b7dc2997 100644 --- a/cmdline/state.c +++ b/cmdline/state.c @@ -1298,7 +1298,7 @@ static void state_read_text(struct snapraid_state* state, const char* path, STRE case 'c' : block_state_set(block, BLOCK_STATE_CHG); break; - case 'p' : + case 'r' : block_state_set(block, BLOCK_STATE_REP); break; }