diff --git a/CHANGELOG.md b/CHANGELOG.md index df6bc069..e4ca11c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 > - **Fixed**: for any bug fixes. > - **Security**: in case of vulnerabilities. -## [3.5.1] - ?? +## [3.5.2] - 2020-04-28 + +### Fixed + +- Fixes (an embarrasing) null map bug on FreeBSD (#94) + +## [3.5.1] - 2020-04-09 ### Fixed diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index 90f67268..81a6d076 100644 --- a/cmd/gotop/main.go +++ b/cmd/gotop/main.go @@ -39,7 +39,7 @@ const ( var ( // TODO: Set this at compile time; having to check this in sucks. - Version = "3.5.1" + Version = "3.5.2" conf gotop.Config help *w.HelpMenu bar *w.StatusBar diff --git a/devices/temp_freebsd.go b/devices/temp_freebsd.go index 54355fcb..0916122c 100644 --- a/devices/temp_freebsd.go +++ b/devices/temp_freebsd.go @@ -20,7 +20,7 @@ var sensorOIDS = map[string]string{ } func update(temps map[string]int) map[string]error { - var errors map[string]error + errors := make(map[string]error) for k, v := range sensorOIDS { output, err := exec.Command("sysctl", "-n", k).Output()