From 112f4c00b7100e342bf1d11273f88120373d1fac Mon Sep 17 00:00:00 2001 From: Henry Dollman Date: Thu, 26 Sep 2024 14:13:46 -0400 Subject: [PATCH] Fix error message typo in sensors_linux --- sensors/sensors_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors/sensors_linux.go b/sensors/sensors_linux.go index 6899d2dcc..03eb51557 100644 --- a/sensors/sensors_linux.go +++ b/sensors/sensors_linux.go @@ -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