[smartmontools-support] ATA Security Level is broken due to an incorrect bit mask

Christian Franke Christian.Franke at t-online.de
Wed Aug 9 18:33:01 CEST 2017


Christian Franke wrote:
> Paa Sss wrote:
>
>> The bit mask should be 0x0100.  The function should be:
>>
>> if (!(state & 0x0100))
>>    s2 = "HIGH";
>> else
>>    s2 = "MAX";
>

Fixed in r4433, please test if possible.
https://builds.smartmontools.org/r4433/

Thanks,
Christian




More information about the Smartmontools-support mailing list