mirror of
https://github.com/aristocratos/btop.git
synced 2026-05-19 22:18:59 -04:00
Merge pull request #1628 from seanniu93/fix-cpu-temp
This commit is contained in:
@@ -101,7 +101,7 @@ namespace Cpu {
|
||||
long long result = getSMCTemp(key);
|
||||
if (result == -1) {
|
||||
// try again with C
|
||||
snprintf(key, 5, "TC%1dC", KeyIndexes[core]);
|
||||
snprintf(key, 5, "TC%1cC", KeyIndexes[core]);
|
||||
result = getSMCTemp(key);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user