Skip to content

Commit

Permalink
Fixes #94, null map on FreeBSD
Browse files Browse the repository at this point in the history
Prep for release
  • Loading branch information
xxxserxxx committed Apr 28, 2020
1 parent feed054 commit 6076d64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cmd/gotop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion devices/temp_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6076d64

Please sign in to comment.