1
0
Fork 0
mirror of https://github.com/otakuto/crazydiskinfo.git synced 2025-07-28 11:54:54 +00:00
This commit is contained in:
otakuto 2017-01-26 06:59:33 +09:00
parent 2fb109dd67
commit 3a14ff1f37

View file

@ -397,7 +397,6 @@ int main()
init_pair(8, COLOR_YELLOW, COLOR_BLACK);
int select = 0;
int smart_ret = 0;
std::vector<SMART> smartList;
auto dir = opendir("/sys/block");
while (auto e = readdir(dir))
@ -414,7 +413,7 @@ int main()
{
continue;
}
smart_ret = sk_disk_smart_is_available(skdisk, &b);
int smart_ret = sk_disk_smart_is_available(skdisk, &b);
sk_disk_free(skdisk);
if (smart_ret < 0)
{