1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-24 13:48:56 +08:00

Merge pull request #1715 from henrygd/master

Fix error message typo in sensors_linux
This commit is contained in:
shirou 2024-10-01 10:17:32 +09:00 committed by GitHub
commit 2e10d9f7d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ func TemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
files, err := getTemperatureFiles(ctx)
if err != nil {
return nil, fmt.Errorf("failed to get tempreteure files, %w", err)
return nil, fmt.Errorf("failed to get temperature files, %w", err)
}
if len(files) == 0 { // handle distributions without hwmon, like raspbian #391, parse legacy thermal_zone files