mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -05:00
Merge branch 'b4'
Conflicts: sync.c
This commit is contained in:
commit
6868fae748
10 changed files with 58 additions and 31 deletions
4
dry.c
4
dry.c
|
|
@ -78,7 +78,7 @@ static int state_dry_process(struct snapraid_state* state, struct snapraid_parit
|
|||
}
|
||||
|
||||
/* open the file only for reading */
|
||||
ret = handle_open(&handle[j], block_file_get(block), stdlog, state->opt.skip_sequential);
|
||||
ret = handle_open(&handle[j], block_file_get(block), state->opt.skip_sequential, stdlog);
|
||||
if (ret == -1) {
|
||||
fprintf(stderr, "DANGER! Unexpected open error in a data disk, it isn't possible to rehash.\n");
|
||||
printf("Stopping at block %u\n", i);
|
||||
|
|
@ -134,7 +134,7 @@ bail:
|
|||
if (error) {
|
||||
printf("%u read errors\n", error);
|
||||
} else {
|
||||
printf("No error\n");
|
||||
printf("Everything OK\n");
|
||||
}
|
||||
|
||||
free(handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue