diff --git a/cmdline/device.c b/cmdline/device.c index dfef1ef8..c52dbf0d 100644 --- a/cmdline/device.c +++ b/cmdline/device.c @@ -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; } }