mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Better testing with fake devices
This commit is contained in:
parent
5ce1aa5bcc
commit
8de54cb863
1 changed files with 6 additions and 1 deletions
|
|
@ -892,7 +892,12 @@ static int devtest(tommy_list* low, int operation)
|
|||
switch (c) {
|
||||
case 0 : entry->smart[j] = 0; break;
|
||||
case 1 : entry->smart[j] = SMART_UNASSIGNED; break;
|
||||
default : entry->smart[j] = c; break;
|
||||
default:
|
||||
if (j == 193)
|
||||
entry->smart[j] = c - 2;
|
||||
else
|
||||
entry->smart[j] = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue