We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b257134 commit 7a3afa4Copy full SHA for 7a3afa4
src/detection/physicaldisk/physicaldisk_linux.c
@@ -21,7 +21,7 @@ static double detectNvmeTemp(int devfd)
21
{
22
buffer[size] = '\0';
23
double temp = strtod(buffer, NULL);
24
- return temp > 0 ? temp / 1000 : FF_PHYSICALDISK_TEMP_UNSET;
+ return temp > 0 && temp < 10000000 /*VMware*/ ? temp / 1000 : FF_PHYSICALDISK_TEMP_UNSET;
25
}
26
27
0 commit comments