Merge branch 'b4'

Conflicts:
	sync.c
This commit is contained in:
Andrea Mazzoleni 2013-09-21 19:15:25 +02:00
commit 6868fae748
10 changed files with 58 additions and 31 deletions

4
dry.c
View file

@ -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);