mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Fix a missed initialization of the new smartctl variable
This commit is contained in:
parent
214070dc4d
commit
228ca866e2
1 changed files with 1 additions and 0 deletions
|
|
@ -128,6 +128,7 @@ void state_init(struct snapraid_state* state)
|
|||
state->file_mode = MODE_SEQUENTIAL;
|
||||
for (l = 0; l < LEV_MAX; ++l) {
|
||||
state->parity[l].path[0] = 0;
|
||||
state->parity[l].smartctl[0] = 0;
|
||||
state->parity[l].uuid[0] = 0;
|
||||
state->parity[l].device = 0;
|
||||
state->parity[l].total_blocks = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue