Skip to content

Commit

Permalink
Fix error message typo in sensors_linux
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd committed Sep 26, 2024
1 parent 7ec1343 commit 112f4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensors/sensors_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 112f4c0

Please sign in to comment.