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

Fix error message typo in sensors_linux

This commit is contained in:
Henry Dollman 2024-09-26 14:13:46 -04:00
parent 7ec134321c
commit 112f4c00b7

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