Skip to content

Commit 2e10d9f

Browse files
authored
Merge pull request #1715 from henrygd/master
Fix error message typo in sensors_linux
2 parents 7ec1343 + 112f4c0 commit 2e10d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sensors/sensors_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
2424

2525
files, err := getTemperatureFiles(ctx)
2626
if err != nil {
27-
return nil, fmt.Errorf("failed to get tempreteure files, %w", err)
27+
return nil, fmt.Errorf("failed to get temperature files, %w", err)
2828
}
2929

3030
if len(files) == 0 { // handle distributions without hwmon, like raspbian #391, parse legacy thermal_zone files

0 commit comments

Comments
 (0)