fix mistake in removability bit
This commit is contained in:
parent
c8c9e8e731
commit
a2bebe93ba
@ -73,7 +73,7 @@ void print_block(uint8_t *hw_block) {
|
|||||||
printf("RAM hash : [%02x]\n", hwid->hashRAM);
|
printf("RAM hash : [%02x]\n", hwid->hashRAM);
|
||||||
printf("SMBIOS hash : [%04x]\n", hwid->hashBIOS);
|
printf("SMBIOS hash : [%04x]\n", hwid->hashBIOS);
|
||||||
for(size_t i = 0; i < instance_count; i++) {
|
for(size_t i = 0; i < instance_count; i++) {
|
||||||
printf("Hash (%02zx) : [%04x] %s\n", i, hwid->instanceHashes[i], (hwid->instanceHashes[i] & 1) == 1 ? "[[Non-Removable]]" : "");
|
printf("Hash (%02zx) : [%04x] %s\n", i, hwid->instanceHashes[i], (hwid->instanceHashes[i] & 1) == 1 ? "[[Removable]]" : "");
|
||||||
}
|
}
|
||||||
puts("");
|
puts("");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user