diff --git a/CHANGELOG.md b/CHANGELOG.md index d4f6f777..64cb9859 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,7 +67,7 @@ The FreeBSD bugfix release. While there are non-FreeBSD fixes in here, the focus ### Fixed -- Compile errors on FreeBSD due to `golang.org/x/sys` API breakages +- Address FreeBSD compile errors resulting to `golang.org/x/sys` API breakages - Key bindings now work in FreeBSD (#95) - Eliminate repeated logging about missing sensor data on FreeBSD VMs (#97) - Investigated #14, a report about gotop's memory not matching `top`'s numbers, and came to the conclusions that (a) `gotop` is more correct in some cases (swap) than `top`, and (b) that the metric `gotop` is using (`hw.physmem`) is probably correct -- or that there's no obviously superior metric. So no change. diff --git a/devices/temp_freebsd.go b/devices/temp_freebsd.go index d246c0ed..3e659be1 100644 --- a/devices/temp_freebsd.go +++ b/devices/temp_freebsd.go @@ -64,7 +64,7 @@ func devs() []string { for k, _ := range sensorOIDS { idx := strings.Index(string(bs), k) if idx < 0 { - log.Println("temp: no device %s found", k) + log.Printf("temp: no device %s found", k) } else { rv = append(rv, k) } diff --git a/go.sum b/go.sum index 63de1cb5..fb7369f5 100644 --- a/go.sum +++ b/go.sum @@ -23,7 +23,6 @@ github.com/mattn/go-runewidth v0.0.4 h1:2BvfKmzob6Bmd4YsL0zygOqfdFnK7GR4QL06Do4/ github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d h1:x3S6kxmy49zXVVyhcnrFqxvNVCBPb2KZ9hV2RBdS840= github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ= github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1 h1:lh3PyZvY+B9nFliSGTn5uFuqQQJGuNrD0MLCokv09ag= github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ=