mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Completes merge from master.
This commit is contained in:
parent
f61fcfd850
commit
828727f7dc
1 changed files with 0 additions and 13 deletions
13
state.c
13
state.c
|
|
@ -153,22 +153,9 @@ static void state_config_check(struct snapraid_state* state, const char* path)
|
|||
}
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
for(l=0;l<state->level;++l) {
|
||||
if (disk->device == state->parity_device[l]) {
|
||||
fprintf(stderr, "Disk '%s' and %s '%s' are on the same device.\n", disk->dir, lev_name(l), state->parity_path[l]);
|
||||
=======
|
||||
if (disk->device == state->parity_device) {
|
||||
fprintf(stderr, "Disk '%s' and parity '%s' are on the same device.\n", disk->dir, state->parity);
|
||||
#ifdef _WIN32
|
||||
fprintf(stderr, "Both have the serial number '%"PRIx64"'.\n", disk->device);
|
||||
#endif
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
if (state->qarity[0] != 0 && disk->device == state->qarity_device) {
|
||||
fprintf(stderr, "Disk '%s' and q-parity '%s' are on the same device.\n", disk->dir, state->qarity);
|
||||
>>>>>>> master
|
||||
#ifdef _WIN32
|
||||
fprintf(stderr, "Both have the serial number '%"PRIx64"'.\n", disk->device);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue