mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 22:00:19 -05:00
Even better error management. More precise and explicative.
This commit is contained in:
parent
37c68721a1
commit
e80009334b
7 changed files with 108 additions and 37 deletions
3
state.c
3
state.c
|
|
@ -29,6 +29,9 @@
|
|||
void state_init(struct snapraid_state* state)
|
||||
{
|
||||
state->verbose = 0;
|
||||
state->force_zero = 0;
|
||||
state->force_empty = 0;
|
||||
state->need_write = 0;
|
||||
state->block_size = 256 * 1024; /* default 256 kB */
|
||||
state->content[0] = 0;
|
||||
state->parity[0] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue